Bug #23637 | Charset and collation of the function SPACE() | ||
---|---|---|---|
Submitted: | 25 Oct 2006 17:21 | Modified: | 11 May 2012 17:30 |
Reporter: | Marc ALFF | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Charsets | Severity: | S3 (Non-critical) |
Version: | 5.0 | OS: | Any |
Assigned to: | Alexander Barkov | CPU Architecture: | Any |
[25 Oct 2006 17:21]
Marc ALFF
[26 Oct 2006 8:14]
Sveta Smirnova
Thank you for the report. Verified as described on Linux using last BK sources.
[2 Apr 2007 17:10]
Marc ALFF
See related (?) bug#27580
[20 Feb 2008 19:35]
Omer Barnir
workaround: use explicit collation on the results
[11 May 2012 17:30]
Paul DuBois
Noted in 5.6.4 changelog. Collation for the SPACE() function was determined by the parse time value of the collation_connection system variable (instead of the runtime value), which could give unexpected results from prepared statements, triggers, and stored procedures.