~michaeleguo/ubuntu/trusty/percona-xtradb-cluster-5.5/arm64fix

« back to all changes in this revision

Viewing changes to mysql-test/suite/engines/funcs/t/tc_column_primary_key_string.test

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2014-02-10 14:44:23 UTC
  • Revision ID: package-import@ubuntu.com-20140210144423-f2134l2gxuvq2m6l
Tags: upstream-5.5.34-25.9+dfsg
ImportĀ upstreamĀ versionĀ 5.5.34-25.9+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
--disable_warnings
 
2
DROP TABLE IF EXISTS t9;
 
3
--enable_warnings
 
4
CREATE TABLE t9(c1 CHAR(10) NOT NULL PRIMARY KEY);
 
5
SHOW TABLES;
 
6
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
 
7
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
 
8
SHOW CREATE TABLE t9; DROP TABLE t9; SHOW TABLES;
 
9
CREATE TABLE t9(c1 VARCHAR(10) NOT NULL PRIMARY KEY);
 
10
SHOW TABLES;
 
11
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
 
12
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
 
13
SHOW CREATE TABLE t9; DROP TABLE t9; SHOW TABLES;
 
14
CREATE TABLE t9(c1 BINARY(10) NOT NULL PRIMARY KEY);
 
15
SHOW TABLES;
 
16
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
 
17
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
 
18
SHOW CREATE TABLE t9; DROP TABLE t9; SHOW TABLES;
 
19
CREATE TABLE t9(c1 VARBINARY(10) NOT NULL PRIMARY KEY);
 
20
SHOW TABLES;
 
21
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
 
22
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
 
23
SHOW CREATE TABLE t9; DROP TABLE t9; SHOW TABLES;
 
24