diff options
author | timour@mysql.com <> | 2004-11-25 11:37:28 +0200 |
---|---|---|
committer | timour@mysql.com <> | 2004-11-25 11:37:28 +0200 |
commit | 38ab93c6befaca29e2fc36f0f24ce2d1e464550b (patch) | |
tree | 29ad0385fdb639f58ab052e5bb498f9429a374d9 /mysql-test/t/merge.test | |
parent | 5eae363c329978a8d87cadc76a1a4967f38a7d70 (diff) | |
parent | cf722bc3f5040d447f657477485e362b967d1f3e (diff) | |
download | mariadb-git-38ab93c6befaca29e2fc36f0f24ce2d1e464550b.tar.gz |
Merge for BUG#3759 which was missing from the main tree for some reason.
Diffstat (limited to 'mysql-test/t/merge.test')
-rw-r--r-- | mysql-test/t/merge.test | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/mysql-test/t/merge.test b/mysql-test/t/merge.test index 76382a9cd99..57770dc0a0b 100644 --- a/mysql-test/t/merge.test +++ b/mysql-test/t/merge.test @@ -250,3 +250,17 @@ select * from t3 where x = 1 and y < 5 order by y; # Bug is that followng query returns empty set while it must be same as above select * from t3 where x = 1 and y < 5 order by y desc; drop table t1,t2,t3; + +# +# Bug#5232: CREATE TABLE ... SELECT +# + +create table t1 (a int); +create table t2 (a int); +insert into t1 values (0); +insert into t2 values (1); +--error 1093 +create table t3 engine=merge union=(t1, t2) select * from t1; +--error 1093 +create table t3 engine=merge union=(t1, t2) select * from t2; +drop table t1, t2; |