~ubuntu-branches/ubuntu/precise/mysql-5.5/precise-201203300109

« back to all changes in this revision

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

  • Committer: Package Import Robot
  • Author(s): Clint Byrum
  • Date: 2011-11-08 11:31:13 UTC
  • Revision ID: package-import@ubuntu.com-20111108113113-3ulw01fvi4vn8m25
Tags: upstream-5.5.17
ImportĀ upstreamĀ versionĀ 5.5.17

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
--disable_warnings
 
2
DROP TABLE IF EXISTS t1;
 
3
--enable_warnings
 
4
CREATE TABLE t1(c1 CHAR(30) NOT NULL);
 
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 t1; 
 
9
ALTER TABLE t1 ADD PRIMARY KEY (c1);
 
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 t1; DROP TABLE t1; SHOW TABLES;
 
14
CREATE TABLE t1(c1 VARCHAR(30) NOT NULL);
 
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 t1; 
 
19
ALTER TABLE t1 ADD PRIMARY KEY (c1);
 
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 t1; DROP TABLE t1; SHOW TABLES;
 
24
CREATE TABLE t1(c1 BINARY(30) NOT NULL);
 
25
SHOW TABLES; 
 
26
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`; 
 
27
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
 
28
 SHOW CREATE TABLE t1; 
 
29
ALTER TABLE t1 ADD PRIMARY KEY (c1);
 
30
SHOW TABLES; 
 
31
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`; 
 
32
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
 
33
 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
 
34
CREATE TABLE t1(c1 VARBINARY(30) NOT NULL);
 
35
SHOW TABLES; 
 
36
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`; 
 
37
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
 
38
 SHOW CREATE TABLE t1; 
 
39
ALTER TABLE t1 ADD PRIMARY KEY (c1);
 
40
SHOW TABLES; 
 
41
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`; 
 
42
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
 
43
 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
 
44