diff options
author | Sergei Golubchik <sergii@pisem.net> | 2011-10-19 21:45:18 +0200 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2011-10-19 21:45:18 +0200 |
commit | 76f0b94bb0b2994d639353530c5b251d0f1a204b (patch) | |
tree | 9ed50628aac34f89a37637bab2fc4915b86b5eb4 /mysql-test/t/merge.test | |
parent | 4e46d8e5bff140f2549841167dc4b65a3c0a645d (diff) | |
parent | 5dc1a2231f55bacc9aaf0e24816f3d9c2ee1f21d (diff) | |
download | mariadb-git-76f0b94bb0b2994d639353530c5b251d0f1a204b.tar.gz |
merge with 5.3
sql/sql_insert.cc:
CREATE ... IF NOT EXISTS may do nothing, but
it is still not a failure. don't forget to my_ok it.
******
CREATE ... IF NOT EXISTS may do nothing, but
it is still not a failure. don't forget to my_ok it.
sql/sql_table.cc:
small cleanup
******
small cleanup
Diffstat (limited to 'mysql-test/t/merge.test')
-rw-r--r-- | mysql-test/t/merge.test | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/mysql-test/t/merge.test b/mysql-test/t/merge.test index e45813ff616..ca2f5ebb4d7 100644 --- a/mysql-test/t/merge.test +++ b/mysql-test/t/merge.test @@ -1976,21 +1976,6 @@ SELECT f1() FROM (SELECT 1 UNION SELECT 1) c1; DROP FUNCTION f1; DROP TABLE tm1, t1, t2; # -CREATE TEMPORARY TABLE t1 (c1 INT); -INSERT INTO t1 (c1) VALUES (1); -CREATE TEMPORARY TABLE tm1 (c1 INT) ENGINE=MRG_MYISAM UNION=(t1); -DELIMITER |; ---error ER_SP_BADSTATEMENT -CREATE FUNCTION f1() RETURNS INT -BEGIN - CREATE TEMPORARY TABLE t2 (c1 INT); - ALTER TEMPORARY TABLE tm1 UNION=(t1,t2); - INSERT INTO t2 (c1) VALUES (2); - RETURN (SELECT MAX(c1) FROM tm1); -END| -DELIMITER ;| -DROP TABLE tm1, t1; -# # Base table. No LOCK TABLES, no functions/triggers. # CREATE TABLE t1 (c1 INT) ENGINE=MyISAM; |