~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/create_not_windows.test

  • Committer: Brian Aker
  • Date: 2009-02-21 00:18:15 UTC
  • Revision ID: brian@tangent.org-20090221001815-x20e8h71e984lvs1
Completion (?) of uint conversion.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
--disable_warnings
5
5
drop table if exists `about:text`;
6
6
--enable_warnings
7
 
create TEMPORARY table `about:text` ( 
 
7
create table `about:text` ( 
8
8
_id int not null auto_increment,
9
9
`about:text` varchar(255) not null default '',
10
10
primary key (_id)
15
15
 
16
16
 
17
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 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 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 table break_frm(a int) engine=myisam;
 
42
drop table if exists break_frm;