summaryrefslogtreecommitdiff
path: root/mysql-test/t/create.test
diff options
context:
space:
mode:
authorserg@serg.mylan <>2005-06-03 18:29:36 +0200
committerserg@serg.mylan <>2005-06-03 18:29:36 +0200
commite4d4baed6205c5d57f1cf87e70a02122ba88d9d6 (patch)
tree2bef8f19d3aae9ed13402a287789d648fcaad5b7 /mysql-test/t/create.test
parentf9e9406b4044d5c243a91f3a849e2609d792a06f (diff)
parent52340c550bc877acb8b1a53c7cbb17b405511245 (diff)
downloadmariadb-git-e4d4baed6205c5d57f1cf87e70a02122ba88d9d6.tar.gz
merged
Diffstat (limited to 'mysql-test/t/create.test')
-rw-r--r--mysql-test/t/create.test14
1 files changed, 14 insertions, 0 deletions
diff --git a/mysql-test/t/create.test b/mysql-test/t/create.test
index ce85e530569..2ba726f29e2 100644
--- a/mysql-test/t/create.test
+++ b/mysql-test/t/create.test
@@ -460,3 +460,17 @@ insert into t2 values ();
select * from t1;
select * from t2;
drop table t1,t2;
+#
+# Bug#10224 - ANALYZE TABLE crashing with simultaneous
+# CREATE ... SELECT statement.
+# This tests two additional possible errors and a hang if
+# an improper fix is present.
+#
+create table t1 (a int);
+--error 1093
+create table t1 select * from t1;
+--error 1093
+create table t2 union = (t1) select * from t1;
+flush tables with read lock;
+unlock tables;
+drop table t1;