~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/union.test

Reverted changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
457
457
insert into t1 select * from t2;
458
458
insert into t2 select * from t1;
459
459
set local tmp_table_size=1024;
460
 
select count(*) from (select * from t1 union all select * from t2 order by 1) b;
 
460
select SQL_BIG_RESULT count(*) from (select SQL_BIG_RESULT * from t1 union all select * from t2 order by 1) b;
461
461
select count(*) from t1;
462
462
select count(*) from t2;
463
463
drop table t1,t2;
746
746
# Bug#15949 union + illegal mix of collations (IMPLICIT + COERCIBLE)
747
747
#
748
748
select concat('a', 'b' collate utf8_bin);
749
 
create table t1 (foo varchar(100)) collate utf8_bin;
 
749
create table t1 (foo varchar(100)) collate=utf8_bin;
750
750
insert into t1 (foo) values ("foo");
751
751
--error 1146
752
752
select foo from t1 union select 'bar' as foo from dual;