Add missing DROP TABLE

parent b933ae23
...@@ -12694,3 +12694,4 @@ SELECT * FROM t1 ORDER BY a; ...@@ -12694,3 +12694,4 @@ SELECT * FROM t1 ORDER BY a;
a b a b
1 NULL 1 NULL
2 NULL 2 NULL
DROP TABLE t1;
...@@ -1786,6 +1786,7 @@ t2 CREATE TABLE `t2` ( ...@@ -1786,6 +1786,7 @@ t2 CREATE TABLE `t2` (
) ENGINE=MyISAM DEFAULT CHARSET=latin1 ) ENGINE=MyISAM DEFAULT CHARSET=latin1
DROP TABLE t2; DROP TABLE t2;
DROP TABLE t1;
# -- End of test case for Bug#21380. # -- End of test case for Bug#21380.
......
...@@ -1478,6 +1478,7 @@ NULL ...@@ -1478,6 +1478,7 @@ NULL
1 1
2 2
DROP TABLE t1; DROP TABLE t1;
DROP TABLE t2;
CREATE TABLE t1 ( a INT, b INT ); CREATE TABLE t1 ( a INT, b INT );
SELECT b c, (SELECT a FROM t1 WHERE b = c) SELECT b c, (SELECT a FROM t1 WHERE b = c)
FROM t1; FROM t1;
......
...@@ -1598,3 +1598,4 @@ CREATE TABLE t1(a INT NOT NULL AUTO_INCREMENT, b BLOB, KEY(a)) ENGINE=archive; ...@@ -1598,3 +1598,4 @@ CREATE TABLE t1(a INT NOT NULL AUTO_INCREMENT, b BLOB, KEY(a)) ENGINE=archive;
INSERT INTO t1 VALUES (NULL, NULL),(NULL, NULL); INSERT INTO t1 VALUES (NULL, NULL),(NULL, NULL);
FLUSH TABLE t1; FLUSH TABLE t1;
SELECT * FROM t1 ORDER BY a; SELECT * FROM t1 ORDER BY a;
DROP TABLE t1;
...@@ -1380,6 +1380,7 @@ SHOW CREATE TABLE t2; ...@@ -1380,6 +1380,7 @@ SHOW CREATE TABLE t2;
--echo --echo
DROP TABLE t2; DROP TABLE t2;
DROP TABLE t1;
--echo --echo
--echo # -- End of test case for Bug#21380. --echo # -- End of test case for Bug#21380.
......
...@@ -945,6 +945,7 @@ EXPLAIN SELECT b from t2 GROUP BY b; ...@@ -945,6 +945,7 @@ EXPLAIN SELECT b from t2 GROUP BY b;
SELECT b from t2 GROUP BY b; SELECT b from t2 GROUP BY b;
DROP TABLE t1; DROP TABLE t1;
DROP TABLE t2;
# #
# Bug #31797: error while parsing subqueries -- WHERE is parsed as HAVING # Bug #31797: error while parsing subqueries -- WHERE is parsed as HAVING
......
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