~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/create_select_tmp.test

  • Committer: Andrew Hutchings
  • Date: 2011-02-07 17:20:59 UTC
  • mfrom: (2148 staging)
  • mto: (2148.2.3 build)
  • mto: This revision was merged to the branch mainline in revision 2149.
  • Revision ID: andrew@linuxjedi.co.uk-20110207172059-dyeahrgzrlincoe3
Merge with trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
INSERT INTO t1 VALUES (1),(2),(1);
14
14
--error ER_DUP_ENTRY
15
15
CREATE TABLE t2 ( PRIMARY KEY (a) ) ENGINE=INNODB SELECT a FROM t1;
16
 
--error ER_NO_SUCH_TABLE
 
16
--error ER_TABLE_UNKNOWN
17
17
select * from t2;
18
18
--error ER_DUP_ENTRY
19
19
CREATE TEMPORARY TABLE t2 ( PRIMARY KEY (a) ) ENGINE=INNODB SELECT a FROM t1;
20
 
--error ER_NO_SUCH_TABLE
21
 
select * from t2;
22
 
--error ER_DUP_ENTRY
23
 
CREATE TEMPORARY TABLE t2 ( PRIMARY KEY (a) ) ENGINE=MYISAM SELECT a FROM t1;
24
 
--error ER_NO_SUCH_TABLE
25
 
select * from t2;
26
 
--error ER_DUP_ENTRY
27
 
CREATE TEMPORARY TABLE t2 ( PRIMARY KEY (a) ) ENGINE=MYISAM SELECT a FROM t1;
28
 
--error ER_NO_SUCH_TABLE
 
20
--error ER_TABLE_UNKNOWN
 
21
select * from t2;
 
22
--error ER_DUP_ENTRY
 
23
CREATE TEMPORARY TABLE t2 ( PRIMARY KEY (a) ) ENGINE=MYISAM SELECT a FROM t1;
 
24
--error ER_TABLE_UNKNOWN
 
25
select * from t2;
 
26
--error ER_DUP_ENTRY
 
27
CREATE TEMPORARY TABLE t2 ( PRIMARY KEY (a) ) ENGINE=MYISAM SELECT a FROM t1;
 
28
--error ER_TABLE_UNKNOWN
29
29
select * from t2;
30
30
drop table t1;
31
31