diff options
author | serg@serg.mylan <> | 2005-05-28 01:28:18 +0200 |
---|---|---|
committer | serg@serg.mylan <> | 2005-05-28 01:28:18 +0200 |
commit | 29d6af8d9ae03c432c7102e308a47e7fe6163acc (patch) | |
tree | 80915f4cb7be15d9964fb93e81281b658ce0961c /mysql-test/t/union.test | |
parent | 8e09a3b8d1c35ad8dde5549a7558c1f4dc2c6382 (diff) | |
parent | f9e9406b4044d5c243a91f3a849e2609d792a06f (diff) | |
download | mariadb-git-29d6af8d9ae03c432c7102e308a47e7fe6163acc.tar.gz |
merged
Diffstat (limited to 'mysql-test/t/union.test')
-rw-r--r-- | mysql-test/t/union.test | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/mysql-test/t/union.test b/mysql-test/t/union.test index af548074aa9..4da19622dcb 100644 --- a/mysql-test/t/union.test +++ b/mysql-test/t/union.test @@ -773,6 +773,16 @@ alter table t2 ROW_FORMAT=fixed; show create table t2; drop table t1,t2; +# +# correct conversion long string to TEXT (BUG#10025) +# +CREATE TABLE t1 (a mediumtext); +CREATE TABLE t2 (b varchar(20)); +INSERT INTO t1 VALUES ('a'),('b'); +SELECT left(a,100000000) FROM t1 UNION SELECT b FROM t2; +create table t3 SELECT left(a,100000000) FROM t1 UNION SELECT b FROM t2; +show create table t3; +drop tables t1,t2,t3; # # Bug #10032 Bug in parsing UNION with ORDER BY when one node does not use FROM |