Bug #19621 Character set introducer before parameter substitution causes syntax error
| Submitted: | 8 May 2006 17:35 | Modified: | 18 May 2006 1:20 |
|---|---|---|---|
| Reporter: | Gwynne Raskind | Email Updates: | |
| Status: | Unsupported | Impact on me: | |
| Category: | MySQL Server | Severity: | S4 (Feature request) |
| Version: | 5.0.21/5.0BK/5.1BK/4.1BK | OS: | Any (*) |
| Assigned to: | CPU Architecture: | Any |
[8 May 2006 17:35]
Gwynne Raskind
[8 May 2006 18:14]
MySQL Verification Team
Thank you for the bug report. Indeed I understand the same reading the Manual.
[8 May 2006 18:16]
Gwynne Raskind
As far as I can tell, this bug also eists in all versions of 4.1.x as well as 5.x.
[8 May 2006 18:25]
MySQL Verification Team
Yes you are right also for 4.1
[17 May 2006 16:25]
Konstantin Osipov
This is a bug in the manual and a valid feature request. The syntax is not valid and has never been valid.
[17 May 2006 16:36]
Paul DuBois
I'll remove the syntax from the manual, because it's not supported. Changing Severity to Feature Request. Unassigning Stefan from Lead.
[18 May 2006 1:20]
Gwynne Raskind
Since this is an invalid syntax, is it possible to specify the character set used by a particular parameter substitution? If not, which character set (server, connection, client, or database) takes effect with regards to string parameters? This is a critical question for our current development.
[18 May 2006 9:20]
Konstantin Osipov
If you specify MYSQL_TYPE_BLOB as the input type of the data, then no character set assumptions are made - the data is inserted into a column without conversions. Otherwise the data is assumed to be in CHARACTER_SET_CLIENT. Therefore, if the character set of a column doens't match CHARACTER_SET_CLIENT, a conversion is performed and the parameter value is converted to the column character set.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.041 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.