~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/subselect_sj2.test

  • Committer: Brian Aker
  • Date: 2009-10-20 21:53:24 UTC
  • mfrom: (1183.3.1 trunk-nodebug)
  • Revision ID: brian@gaz-20091020215324-p9xeiss3rjfr977j
Adding test cases that came from SergP.

Show diffs side-by-side

added added

removed removed

Lines of Context:
364
364
 
365
365
drop table t1, t2;
366
366
 
 
367
--echo #
 
368
--echo # MySQL BUG #42742: crash in setup_sj_materialization, Copy_field::set
 
369
--echo # 
 
370
create table t3 ( c1 date) engine=innodb;
 
371
insert into t3 values ('2009-10-22'),('2142-10-22');
 
372
create table t2 (c1 tinytext,c2 text,c6 timestamp) engine=innodb;
 
373
select * from t3;
 
374
explain select 1 from t2 where  c2 in (select 1 from t3, t2) and  c1 in (select convert(c6,char(1)) from t2); 
 
375
drop table t2, t3;
 
376
 
367
377
#
368
378
# Bug#33062: subquery in stored routine cause crash
369
379
#