| Bug #2813 | analyse does not quot string values in enams from string | ||
|---|---|---|---|
| Submitted: | 15 Feb 2004 12:39 | Modified: | 11 Jan 2005 17:41 |
| Reporter: | shimon doodkin | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | MySQL Server | Severity: | S3 (Non-critical) |
| Version: | 4.0.14, for pc-linux-, Ver 12.21 Distrib | OS: | Linux (linux-2.4.20-gentoo) |
| Assigned to: | Jani Tolonen | CPU Architecture: | Any |
[11 Jan 2005 17:41]
Jani Tolonen
Thank you for your bug report. This issue has been committed to our
source repository of that product and will be incorporated into the
next release.
If necessary, you can access the source repository and build the latest
available version, including the bugfix, yourself. More information
about accessing the source trees is available at
http://www.mysql.com/doc/en/Installing_source_tree.html
Additional info:
Fixed in 4.1

Description: SELECT * FROM `survey_21` PROCEDURE ANALYSE ( ) colmn Optimal_fieldtype = ENUM('ab',',','123','b;lN"VFnf';l[;]pgl','banikoo','c') should be ENUM('ab',',','123','b;lN"VFnf\';l[;]pgl','banikoo','c') ______________________________^ maybe other chars should be quoted too How to repeat: make a table with one tinytext colmn and add values to it: ab 123 b;lN"VFnf';l[;]pgl banikoo c Suggested fix: quote string values before adding them to enum