~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/subselect_mat.test

Merge Stewart's dead code removal

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
insert into t2i select * from t2;
47
47
insert into t3i select * from t3;
48
48
 
 
49
# force the use of materialization
 
50
set @@optimizer_switch=no_semijoin;
 
51
 
49
52
--echo /********************************************************************
50
53
--echo  * Simple tests.
51
54
--echo  ********************************************************************/
286
289
  Test that BLOBs are not materialized (except when arguments of some functions).
287
290
*/
288
291
# force materialization to be always considered
 
292
set @@optimizer_switch=no_semijoin;
289
293
set @prefix_len = 6;
290
294
 
291
 
# BLOB == 16 (small blobs that could be stored in MEMORY tables)
 
295
# BLOB == 16 (small blobs that could be stored in HEAP tables)
292
296
set @blob_len = 16;
293
297
set @suffix_len = @blob_len - @prefix_len;
294
298
 
630
634
/******************************************************************************
631
635
* Test the cache of the left operand of IN.
632
636
******************************************************************************/
 
637
set @@optimizer_switch=no_semijoin;
 
638
 
633
639
# Test that default values of Cached_item are not used for comparison
634
640
create temporary table t1 (s1 int) ENGINE=MyISAM;
635
641
create temporary table t2 (s2 int) ENGINE=MyISAM;