diff options
author | ram@gw.mysql.r18.ru <> | 2004-09-02 16:25:32 +0500 |
---|---|---|
committer | ram@gw.mysql.r18.ru <> | 2004-09-02 16:25:32 +0500 |
commit | c6b2b2f09d8cbf78e24fd1e1bd9471b02986c14e (patch) | |
tree | 7a5317dd2ea2f292ff0b8ced2ad8590e3615c7ac /mysql-test/t | |
parent | fc118875961eb6b656b4ed95a205f1e8eccbdc4c (diff) | |
parent | 3acccb988a7fba5f075acf7615bc0ec7f8548366 (diff) | |
download | mariadb-git-c6b2b2f09d8cbf78e24fd1e1bd9471b02986c14e.tar.gz |
Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-4.0
into gw.mysql.r18.ru:/usr/home/ram/work/4.0.b5232
Diffstat (limited to 'mysql-test/t')
-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; |