summaryrefslogtreecommitdiff
path: root/mysql-test/t/drop.test
diff options
context:
space:
mode:
authorsasha@mysql.sashanet.com <>2001-03-27 10:23:04 -0700
committersasha@mysql.sashanet.com <>2001-03-27 10:23:04 -0700
commitee0f6217ea2727de945e5e2fc9cb235ec684d5d0 (patch)
treeb259df95075283c70975d393530781a9d2da0d8d /mysql-test/t/drop.test
parent62e6906bfbab202ffa3161b46969e78ec4db8cc5 (diff)
downloadmariadb-git-ee0f6217ea2727de945e5e2fc9cb235ec684d5d0.tar.gz
I was wrong about concurrent insert issue in rpl000016 - it still failed
once after the lock. Now changed test case and added eval support to mysqltest to make it easier to debug
Diffstat (limited to 'mysql-test/t/drop.test')
-rw-r--r--mysql-test/t/drop.test12
1 files changed, 12 insertions, 0 deletions
diff --git a/mysql-test/t/drop.test b/mysql-test/t/drop.test
new file mode 100644
index 00000000000..1de387f6e4c
--- /dev/null
+++ b/mysql-test/t/drop.test
@@ -0,0 +1,12 @@
+drop table if exists t1;
+drop table if exists t1;
+--error 1051;
+drop table t1;
+create table t1(n int);
+insert into t1 values(1);
+create temporary table t1( n int);
+insert into t1 values(2);
+--error 1050;
+create table t1(n int);
+drop table t1;
+select * from t1;