Browse Source

after merge fix

pull/374/head
unknown 19 years ago
parent
commit
64c6a91d40
  1. 3
      mysql-test/r/subselect.result
  2. 2
      mysql-test/r/subselect_notembedded.result
  3. 8
      mysql-test/t/subselect.test
  4. 7
      mysql-test/t/subselect_notembedded.test

3
mysql-test/r/subselect.result

@ -2853,9 +2853,6 @@ a
3
4
DROP TABLE t1,t2,t3;
purge master logs before (select adddate(current_timestamp(), interval -4 day));
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'select adddate(current_timestamp(), interval -4 day))' at line 1
purge master logs before adddate(current_timestamp(), interval -4 day);
CREATE TABLE t1 (f1 INT);
CREATE TABLE t2 (f2 INT);
INSERT INTO t1 VALUES (1);

2
mysql-test/r/subselect_notembedded.result

@ -1 +1,3 @@
purge master logs before (select adddate(current_timestamp(), interval -4 day));
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'select adddate(current_timestamp(), interval -4 day))' at line 1
purge master logs before adddate(current_timestamp(), interval -4 day);

8
mysql-test/t/subselect.test

@ -1821,14 +1821,6 @@ SELECT * FROM t1
DROP TABLE t1,t2,t3;
#
# BUG#10308: purge log with subselect
# Bug#28553: mysqld crash in "purge master log before(select time from information_schema)"
#
--error 1064
purge master logs before (select adddate(current_timestamp(), interval -4 day));
purge master logs before adddate(current_timestamp(), interval -4 day);
#
# Bug#18503: Queries with a quantified subquery returning empty set may
# return a wrong result.

7
mysql-test/t/subselect_notembedded.test

@ -1,8 +1,9 @@
-- source include/not_embedded.inc
#
# BUG #10308: purge log with subselect
# BUG#10308: purge log with subselect
# Bug#28553: mysqld crash in "purge master log before(select time from information_schema)"
#
--error 1064
purge master logs before (select adddate(current_timestamp(), interval -4 day));
purge master logs before adddate(current_timestamp(), interval -4 day);
Loading…
Cancel
Save