~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/r/create_select_tmp.result

  • 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:
1
1
drop table if exists t1, t2;
2
 
CREATE TABLE t1 ( a int );
 
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;
3
11
INSERT INTO t1 VALUES (1),(2),(1);
4
12
CREATE TABLE t2 ( PRIMARY KEY (a) ) ENGINE=INNODB SELECT a FROM t1;
5
13
ERROR 23000: Duplicate entry '1' for key 'PRIMARY'