~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/create_select_tmp.test

  • Committer: Brian Aker
  • Date: 2008-12-24 19:41:08 UTC
  • mfrom: (722.2.32 devel)
  • Revision ID: brian@tangent.org-20081224194108-4140ku9dgjkyk97m
Merge from Monty.

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
# binlog if it was a transactional table, it resulted in an
6
6
# inconsistency between binlog and the internal list of temp tables.
7
7
 
8
 
--disable_warnings
9
8
drop table if exists t1, t2;
10
 
--enable_warnings
11
 
CREATE TABLE t1 ( a int );
 
9
drop table if exists t1;
 
10
CREATE TABLE t1 (
 
11
  a int DEFAULT 0 NOT NULL
 
12
) ENGINE = InnoDB;
12
13
INSERT INTO t1 VALUES (1),(2),(1);
13
14
--error ER_DUP_ENTRY
14
15
CREATE TABLE t2 ( PRIMARY KEY (a) ) ENGINE=INNODB SELECT a FROM t1;