Commit 19b95c06 authored by unknown's avatar unknown

Drop all tables before test case ends

parent 8402740a
......@@ -491,4 +491,4 @@ select * from t2 order by id;
id
3
drop trigger kaboom;
drop table t1;
drop table t1, t2;
use test;
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9,t10;
drop table if exists t1,t2;
create table t1 (a int key, b int unique, c int) engine ndb;
ERROR HY000: Can't create table 'test.t1' (errno: 299)
CREATE LOGFILE GROUP lg1
......@@ -85,6 +84,7 @@ update t1 set b=b+100 where a > 7;
delete from t1;
insert into t1 select * from t2;
create unique index new_index on t1 (b,c);
drop table t2;
drop table t1;
ERROR 42S02: Unknown table 't1'
create index new_index_fail on t1 (c);
......
......@@ -337,4 +337,4 @@ delete from t1 where id in (1,2);
select * from t2 order by id;
drop trigger kaboom;
drop table t1;
drop table t1, t2;
......@@ -3,8 +3,7 @@
-- source include/not_embedded.inc
--disable_warnings
use test;
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9,t10;
drop table if exists t1,t2;
--enable_warnings
# operations allowed while cluster is in single user mode
......@@ -103,6 +102,8 @@ insert into t1 select * from t2;
# - prior to bugfix this would fail
create unique index new_index on t1 (b,c);
drop table t2;
# test some sql on other mysqld
--connection server2
--error 1051
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment