summaryrefslogtreecommitdiff
path: root/depcomp
diff options
context:
space:
mode:
authortnurnberg@mysql.com/sin.azundris.com <>2007-02-12 14:31:44 +0100
committertnurnberg@mysql.com/sin.azundris.com <>2007-02-12 14:31:44 +0100
commitdb7ac2c0c782424d6081a2c4db9df71d36dd425e (patch)
treebde0083f74a889125a20078ffdabc6890565c179 /depcomp
parentba6d2bbf64e68ec7a061cbb96bcd76df81be8d4b (diff)
downloadmariadb-git-db7ac2c0c782424d6081a2c4db9df71d36dd425e.tar.gz
Bug#24660: "enum" field type definition problem
ENUMs weren't allowed to have character 0xff, a perfectly good character in some locales. This was circumvented by mapping 0xff in ENUMs to ',', thereby prevent actual commas from being used. Now if 0xff makes an appearance, we find a character not used in the enum and use that as a separator. If no such character exists, we throw an error. Any solution would have broken some sort of existing behaviour. This solution should serve both fractions (those with 0xff and those with ',' in their enums), but WILL REQUIRE A DUMP/RESTORE CYCLE FROM THOSE WITH 0xff IN THEIR ENUMS. :-/ That is, mysqldump with their current server, and restore when upgrading to one with this patch.
Diffstat (limited to 'depcomp')
0 files changed, 0 insertions, 0 deletions