~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/create_not_windows.test

  • Committer: Monty Taylor
  • Date: 2010-12-24 02:13:05 UTC
  • mto: This revision was merged to the branch mainline in revision 2038.
  • Revision ID: mordred@inaugust.com-20101224021305-e3slv1cyjczqorij
Changed the bzrignore file.

Show diffs side-by-side

added added

removed removed

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