~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysql-test/r/create_select_tmp.result

Renamed more stuff to drizzle.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
drop table if exists t1, t2;
2
 
Warnings:
3
 
Note    1051    Unknown table 't1'
4
 
Note    1051    Unknown table 't2'
5
 
drop table if exists t1;
6
 
Warnings:
7
 
Note    1051    Unknown table 't1'
8
 
CREATE TABLE t1 (
9
 
a int DEFAULT 0 NOT NULL
10
 
) ENGINE = InnoDB;
 
2
CREATE TABLE t1 ( a int );
11
3
INSERT INTO t1 VALUES (1),(2),(1);
12
4
CREATE TABLE t2 ( PRIMARY KEY (a) ) ENGINE=INNODB SELECT a FROM t1;
13
5
ERROR 23000: Duplicate entry '1' for key 'PRIMARY'
17
9
ERROR 23000: Duplicate entry '1' for key 'PRIMARY'
18
10
select * from t2;
19
11
ERROR 42S02: Table 'test.t2' doesn't exist
20
 
CREATE TEMPORARY TABLE t2 ( PRIMARY KEY (a) ) ENGINE=MYISAM SELECT a FROM t1;
 
12
CREATE TABLE t2 ( PRIMARY KEY (a) ) ENGINE=MYISAM SELECT a FROM t1;
21
13
ERROR 23000: Duplicate entry '1' for key 'PRIMARY'
22
14
select * from t2;
23
15
ERROR 42S02: Table 'test.t2' doesn't exist