~kalebral-deactivatedaccount/drizzle/change-error_num_to_enum-2

« back to all changes in this revision

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

  • Committer: Monty Taylor
  • Date: 2010-08-17 15:18:37 UTC
  • mfrom: (1711.1.20 build)
  • Revision ID: mordred@inaugust.com-20100817151837-xg0sc9n6tgjaf4mn
Rollup merge.

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`)
 
7
) ENGINE=InnoDB
 
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 DEFAULT NULL,
 
15
  `c` varchar(100) DEFAULT NULL,
 
16
  PRIMARY KEY (`a`),
 
17
  UNIQUE KEY `b` (`b`),
 
18
  UNIQUE KEY `c` (`c`)
 
19
) ENGINE=InnoDB
 
20
DROP TABLE t2;