~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/haildb/tests/r/basic_create_with_index.result

  • Committer: Olaf van der Spek
  • Date: 2011-08-03 10:04:55 UTC
  • mfrom: (2382 drizzle)
  • mto: This revision was merged to the branch mainline in revision 2384.
  • Revision ID: olafvdspek@gmail.com-20110803100455-2oqzyi77v4gykhy0
Merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
CREATE TABLE t1 (a int primary key);
2
 
SHOW CREATE TABLE t1;
3
 
Table   Create Table
4
 
t1      CREATE TABLE `t1` (
5
 
  `a` INT NOT NULL,
6
 
  PRIMARY KEY (`a`) USING BTREE
7
 
) ENGINE=InnoDB COLLATE = utf8_general_ci
8
 
DROP TABLE t1;
9
 
CREATE TABLE t2 (a int primary key, b int unique, c varchar(100) unique);
10
 
SHOW CREATE TABLE t2;
11
 
Table   Create Table
12
 
t2      CREATE TABLE `t2` (
13
 
  `a` INT NOT NULL,
14
 
  `b` INT UNIQUE DEFAULT NULL,
15
 
  `c` VARCHAR(100) COLLATE utf8_general_ci UNIQUE DEFAULT NULL,
16
 
  PRIMARY KEY (`a`) USING BTREE,
17
 
  UNIQUE KEY `b` (`b`) USING BTREE,
18
 
  UNIQUE KEY `c` (`c`) USING BTREE
19
 
) ENGINE=InnoDB COLLATE = utf8_general_ci
20
 
DROP TABLE t2;