~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/r/create_not_windows.result

  • Committer: Brian Aker
  • Date: 2009-08-17 01:44:23 UTC
  • mto: This revision was merged to the branch mainline in revision 1118.
  • Revision ID: brian@gaz-20090817014423-jxi2qonsumm8mndf
Remove SQL level reference for DELAY (just now done correctly by default in
engine).

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
show create table `about:text`;
8
8
Table   Create Table
9
9
about:text      CREATE TEMPORARY TABLE `about:text` (
10
 
  `_id` INT NOT NULL AUTO_INCREMENT,
11
 
  `about:text` VARCHAR(255) COLLATE utf8_general_ci NOT NULL DEFAULT '',
 
10
  `_id` int NOT NULL AUTO_INCREMENT,
 
11
  `about:text` varchar(255) NOT NULL DEFAULT '',
12
12
  PRIMARY KEY (`_id`)
13
 
) ENGINE=MyISAM COLLATE = utf8_general_ci
 
13
) ENGINE=MyISAM
14
14
drop table `about:text`;
 
15
use test;
 
16
drop table if exists t1;
 
17
create TEMPORARY table break_frm(a int) engine=myisam;
 
18
insert into break_frm values(1);
 
19
"We get an error because the table is in the definition cache"
 
20
create TEMPORARY table break_frm(a int, b int);
 
21
ERROR 42S01: Table 'break_frm' already exists
 
22
"Flush the cache and recreate the table anew to be able to drop it"
 
23
flush tables;
 
24
show open tables like "break_frm%";
 
25
Database        Table   In_use  Name_locked
 
26
create table break_frm(a int, b int, c int);
 
27
"Try to select from the table. This should not crash the server"
 
28
select count(a) from break_frm;
 
29
count(a)
 
30
1
 
31
drop table break_frm;
 
32
create TEMPORARY table break_frm(a int) engine=myisam;
 
33
drop table if exists break_frm;