~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', '킱'));
15
SHOW CREATE TABLE t1;