~ubuntu-branches/ubuntu/trusty/drizzle/trusty

« back to all changes in this revision

Viewing changes to tests/t/show_create_table_utf8.test

  • Committer: Bazaar Package Importer
  • Author(s): Monty Taylor
  • Date: 2010-03-18 12:12:31 UTC
  • Revision ID: james.westby@ubuntu.com-20100318121231-k6g1xe6cshbwa0f8
Tags: upstream-2010.03.1347
Import upstream version 2010.03.1347

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
--replace_regex /ENGINE=[a-zA-Z]+/ENGINE=DEFAULT/
 
16
SHOW CREATE TABLE t1;
 
17
 
 
18
DROP TABLE t1;