diff options
author | unknown <bell@sanja.is.com.ua> | 2005-05-26 18:33:57 +0300 |
---|---|---|
committer | unknown <bell@sanja.is.com.ua> | 2005-05-26 18:33:57 +0300 |
commit | 604799534ad6fd7c86111b1cce69abd1141678a3 (patch) | |
tree | 536889ecee6039bac9f98d66fc242133e71c9961 /mysql-test/r/union.result | |
parent | 91427f2434ffc83e80c31a7a6819f10eadb42507 (diff) | |
parent | 80b0baa7405ddb36637ee7ceeb2b15ff90af6635 (diff) | |
download | mariadb-git-604799534ad6fd7c86111b1cce69abd1141678a3.tar.gz |
merge
sql/item.cc:
Auto merged
Diffstat (limited to 'mysql-test/r/union.result')
-rw-r--r-- | mysql-test/r/union.result | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/mysql-test/r/union.result b/mysql-test/r/union.result index b315ae9a3f5..1b5fa69d713 100644 --- a/mysql-test/r/union.result +++ b/mysql-test/r/union.result @@ -1235,6 +1235,20 @@ show columns from t2; Field Type Null Key Default Extra a varchar(3) YES NULL drop table t2, t1; +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; +left(a,100000000) +a +b +create table t3 SELECT left(a,100000000) FROM t1 UNION SELECT b FROM t2; +show create table t3; +Table Create Table +t3 CREATE TABLE `t3` ( + `left(a,100000000)` longtext +) ENGINE=MyISAM DEFAULT CHARSET=latin1 +drop tables t1,t2,t3; create table t1 ( id int not null auto_increment, primary key (id), col1 int); insert into t1 (col1) values (2),(3),(4),(5),(6); select 99 union all select id from t1 order by 1; |