~mordred/blitzdb/out-of-tree

« back to all changes in this revision

Viewing changes to tests/t/create_not_windows.test

  • Committer: Monty Taylor
  • Date: 2010-01-04 01:23:00 UTC
  • Revision ID: mordred@inaugust.com-20100104012300-k9etllo2yyt1flap
Split blitzdb into its own tree.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#
2
 
# Bug#19479:mysqldump creates invalid dump
3
 
#
4
 
--disable_warnings
5
 
drop table if exists `about:text`;
6
 
--enable_warnings
7
 
create TEMPORARY table `about:text` ( 
8
 
_id int not null auto_increment,
9
 
`about:text` varchar(255) not null default '',
10
 
primary key (_id)
11
 
) ENGINE=MyISAM;
12
 
 
13
 
show create table `about:text`; 
14
 
drop table `about:text`;
15
 
 
16
 
 
17
 
# End of 5.0 tests
18
 
 
19
 
#
20
 
# Bug#16532:mysql server assert in debug if table det is removed
21
 
#
22
 
use test;
23
 
--disable_warnings
24
 
drop table if exists t1;
25
 
--enable_warnings
26
 
create TEMPORARY table break_frm(a int) engine=myisam;
27
 
insert into break_frm values(1);
28
 
--system rm -f $MYSQLTEST_VARDIR/master-data/test/break_frm.frm
29
 
--system rm -f $MYSQLTEST_VARDIR/master-data/test/break_frm.dfe
30
 
--echo "We get an error because the table is in the definition cache"
31
 
--error ER_TABLE_EXISTS_ERROR
32
 
create TEMPORARY table break_frm(a int, b int);
33
 
--echo "Flush the cache and recreate the table anew to be able to drop it"
34
 
flush tables;
35
 
show open tables like "break_frm%";
36
 
create table break_frm(a int, b int, c int);
37
 
--echo "Try to select from the table. This should not crash the server"
38
 
select count(a) from break_frm;
39
 
drop table break_frm;
40
 
--system rm -f $MYSQLTEST_VARDIR/master-data/test/break_frm.*
41
 
create TEMPORARY table break_frm(a int) engine=myisam;
42
 
drop table if exists break_frm;