~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/r/temp_table.result

  • Committer: Padraig O'Sullivan
  • Date: 2009-09-13 01:03:01 UTC
  • mto: (1126.9.2 captain-20090915-01)
  • mto: This revision was merged to the branch mainline in revision 1133.
  • Revision ID: osullivan.padraig@gmail.com-20090913010301-tcvvezipx1124acy
Added calls to the dtrace delete begin/end probes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
4       e
22
22
5       f
23
23
6       g
24
 
create TEMPORARY TABLE t2 engine=MEMORY select * from t1;
25
 
create TEMPORARY TABLE IF NOT EXISTS t2 (a int) engine=MEMORY;
 
24
create TEMPORARY TABLE t2 engine=heap select * from t1;
 
25
create TEMPORARY TABLE IF NOT EXISTS t2 (a int) engine=heap;
26
26
Warnings:
27
27
Note    1050    Table 't2' already exists
28
28
CREATE TEMPORARY TABLE t1 (a int not null, b char (10) not null);
29
 
ERROR 42S01: Table 'test.#t1' already exists
 
29
ERROR 42S01: Table 't1' already exists
30
30
ALTER TABLE t1 RENAME t2;
31
 
ERROR 42S01: Table 'test.#t2' already exists
 
31
ERROR 42S01: Table 't2' already exists
32
32
select * from t2;
33
33
a       b
34
34
4       e
95
95
2002-10-24 14:50:40
96
96
show status like "created_tmp%tables";
97
97
Variable_name   Value
98
 
Created_tmp_disk_tables #
99
 
Created_tmp_tables      #
 
98
Created_tmp_disk_tables 0
 
99
Created_tmp_tables      1
100
100
drop table t1;
101
101
create table t1 (a int, b int, index(a), index(b));
102
102
create table t2 (c int auto_increment, d varchar(255), primary key (c));