~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/r/create_select_tmp.result

  • Committer: Monty Taylor
  • Date: 2008-11-16 05:36:13 UTC
  • mto: (584.1.9 devel)
  • mto: This revision was merged to the branch mainline in revision 589.
  • Revision ID: monty@inaugust.com-20081116053613-bld4rqxhlkb49c02
Split out cache_row and type_holder.

Show diffs side-by-side

added added

removed removed

Lines of Context:
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;
11
 
INSERT INTO t1 VALUES (1),(2),(1);
12
 
CREATE TABLE t2 ( PRIMARY KEY (a) ) ENGINE=INNODB SELECT a FROM t1;
13
 
ERROR 23000: Duplicate entry '1' for key 'PRIMARY'
14
 
select * from t2;
15
 
ERROR 42S02: Unknown table 'test.t2'
16
 
CREATE TEMPORARY TABLE t2 ( PRIMARY KEY (a) ) ENGINE=INNODB SELECT a FROM t1;
17
 
ERROR 23000: Duplicate entry '1' for key 'PRIMARY'
18
 
select * from t2;
19
 
ERROR 42S02: Unknown table 'test.t2'
20
 
CREATE TEMPORARY TABLE t2 ( PRIMARY KEY (a) ) ENGINE=MYISAM SELECT a FROM t1;
21
 
ERROR 23000: Duplicate entry '1' for key 'PRIMARY'
22
 
select * from t2;
23
 
ERROR 42S02: Unknown table 'test.t2'
24
 
CREATE TEMPORARY TABLE t2 ( PRIMARY KEY (a) ) ENGINE=MYISAM SELECT a FROM t1;
25
 
ERROR 23000: Duplicate entry '1' for key 'PRIMARY'
26
 
select * from t2;
27
 
ERROR 42S02: Unknown table 'test.t2'
28
 
drop table t1;