summaryrefslogtreecommitdiff
path: root/mysql-test/t/union.test
diff options
context:
space:
mode:
authorunknown <jani@a88-112-41-254.elisa-laajakaista.fi>2006-09-26 17:20:14 +0300
committerunknown <jani@a88-112-41-254.elisa-laajakaista.fi>2006-09-26 17:20:14 +0300
commit8cad2a4545c42a7387f3b0c6dc38d247f4b9b0d1 (patch)
tree9688fbe72f266e7c0b8251cf01957cb61fbd3b31 /mysql-test/t/union.test
parent428d428c8223c66c93d0e3613fc4ff778d0ca548 (diff)
downloadmariadb-git-8cad2a4545c42a7387f3b0c6dc38d247f4b9b0d1.tar.gz
Added more tests of field conversions.
Diffstat (limited to 'mysql-test/t/union.test')
-rw-r--r--mysql-test/t/union.test15
1 files changed, 15 insertions, 0 deletions
diff --git a/mysql-test/t/union.test b/mysql-test/t/union.test
index b510877d23d..2bdf8420d6d 100644
--- a/mysql-test/t/union.test
+++ b/mysql-test/t/union.test
@@ -809,6 +809,21 @@ CREATE TABLE t2 (b varchar(20));
INSERT INTO t1 VALUES ('a');
CREATE TABLE t3 SELECT REPEAT(a,20000000) AS a FROM t1 UNION SELECT b FROM t2;
SHOW CREATE TABLE t3;
+DROP TABLES t1,t3;
+CREATE TABLE t1 (a tinytext);
+INSERT INTO t1 VALUES ('a');
+CREATE TABLE t3 SELECT REPEAT(a,2) AS a FROM t1 UNION SELECT b FROM t2;
+SHOW CREATE TABLE t3;
+DROP TABLES t1,t3;
+CREATE TABLE t1 (a mediumtext);
+INSERT INTO t1 VALUES ('a');
+CREATE TABLE t3 SELECT REPEAT(a,2) AS a FROM t1 UNION SELECT b FROM t2;
+SHOW CREATE TABLE t3;
+DROP TABLES t1,t3;
+CREATE TABLE t1 (a tinyblob);
+INSERT INTO t1 VALUES ('a');
+CREATE TABLE t3 SELECT REPEAT(a,2) AS a FROM t1 UNION SELECT b FROM t2;
+SHOW CREATE TABLE t3;
DROP TABLES t1,t2,t3;
SET max_allowed_packet:= @tmp_max;