1
0
mirror of https://github.com/MariaDB/server.git synced 2025-10-19 21:09:40 +03:00
Files
mariadb/mysql-test/r
tnurnberg@mysql.com/sin.azundris.com 34122240cf Bug#24660: "enum" field type definition problem
ENUMs weren't allowed to have character 0xff, a perfectly good character in many locales.
This was circumvented by mapping 0xff in ENUMs to ',', thereby prevent actual commas from
being used (because they too would get converted to 0xff on load). 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.

(port of the original 4.1 patch. incorporates some suggestions by kaamos.)
2007-01-09 20:23:12 +01:00
..
2006-12-13 19:20:34 +04:00
2006-12-08 22:19:51 -05:00
2006-11-22 17:59:46 +04:00
2006-11-02 13:51:43 +01:00
2006-11-02 13:51:43 +01:00
2006-12-12 19:39:45 -05:00
2006-11-29 12:49:21 -05:00
2006-12-26 22:10:02 +04:00
2006-11-15 10:23:27 +01:00
2006-10-03 15:48:41 +02:00
2006-11-15 10:23:27 +01:00
2006-10-03 16:00:09 +05:00
2006-10-05 00:36:03 +02:00
2006-11-03 13:08:53 +04:00
2006-12-09 13:33:26 -05:00
2006-12-11 11:44:03 -05:00
2006-12-18 09:46:44 +03:00
2006-12-17 23:08:04 +03:00
2006-12-18 12:52:59 +03:00
2006-12-08 22:19:51 -05:00
2006-11-07 13:59:14 +01:00
2006-12-17 23:08:04 +03:00
2006-12-17 23:08:04 +03:00
2006-12-05 15:52:31 +01:00
2006-10-19 20:29:12 +05:00
2006-12-15 09:42:41 -05:00
2006-12-18 16:39:50 -05:00
2006-11-28 16:39:04 -07:00
2006-12-18 16:39:50 -05:00
2006-10-07 20:22:25 +02:00
2006-10-03 16:00:09 +05:00
2006-10-07 20:22:25 +02:00
2006-12-19 08:02:55 -05:00
2006-12-18 16:39:50 -05:00
2006-12-11 11:44:03 -05:00
2006-12-08 22:19:51 -05:00
2006-12-11 11:44:03 -05:00
2006-12-08 22:19:51 -05:00
2006-11-09 12:49:39 +04:00
2006-12-11 11:44:03 -05:00
2006-12-08 22:19:51 -05:00
2006-12-08 22:19:51 -05:00