~drizzle-trunk/drizzle/development

814.1.1 by Jay Pipes
Fix for Bug 314502 "show create table crashes with multi-byte character in enum description"
1
# 
2
# Test for SHOW CREATE TABLE with multi-byte characters
3
# in various schema fields and identifiers.
4
#
5
6
# 
7
# Bug #314502 - "show create table crashes with multi-byte character in enum description"
8
#
9
10
--disable_warnings
11
DROP TABLE IF EXISTS t1;
12
--enable_warnings
13
# 킱 is a 3-byte character in UTF8
14
CREATE TABLE t1 (a enum('aaaa', '킱'));
942.3.1 by Vladimir Kolesnikov
test generalizations
15
--replace_regex /ENGINE=[a-zA-Z]+/ENGINE=DEFAULT/
814.1.1 by Jay Pipes
Fix for Bug 314502 "show create table crashes with multi-byte character in enum description"
16
SHOW CREATE TABLE t1;
1119.4.9 by Stewart Smith
make show_create_table_utf8 test not leave tables behind
17
18
DROP TABLE t1;