~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/create_not_windows.test

  • Committer: Patrick Galbraith
  • Date: 2009-10-08 22:42:05 UTC
  • mto: (1166.5.3 memcached_functions)
  • mto: This revision was merged to the branch mainline in revision 1189.
  • Revision ID: patg@patrick-galbraiths-macbook-pro.local-20091008224205-gq1pehjsivvx0qo9
Starting over with a fresh tree, moved in memcached functions.

Memcached Functions for Drizzle. 

All tests pass.

Show diffs side-by-side

added added

removed removed

Lines of Context:
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 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;