~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/range.test

Remove PLUGIN and MODULES.

Show diffs side-by-side

added added

removed removed

Lines of Context:
379
379
 
380
380
analyze table t1,t2;
381
381
 
382
 
--replace_column 9 #
 
382
--replace_column 3 # 8 # 9 #
383
383
explain select * from t1, t2  where t1.uid=t2.uid AND t1.uid > 0;
384
 
--replace_column 9 #
 
384
--replace_column 3 # 8 # 9 #
385
385
explain select * from t1, t2  where t1.uid=t2.uid AND t2.uid > 0;
386
 
--replace_column 9 #
 
386
--replace_column 3 # 8 # 9 #
387
387
explain select * from t1, t2  where t1.uid=t2.uid AND t1.uid != 0;
388
 
--replace_column 9 #
 
388
--replace_column 3 # 8 # 9 #
389
389
explain select * from t1, t2  where t1.uid=t2.uid AND t2.uid != 0;
390
390
 
391
391
select * from t1, t2  where t1.uid=t2.uid AND t1.uid > 0;
555
555
('d8c4177d24ccef970.14957924','d8c4177d09f8b11f5.52725521',10,11,
556
556
 'd8c4177d09f8b11f5.52725521');
557
557
 
558
 
--replace_column 9 #
 
558
--replace_column 3 # 8 # 9 #
559
559
EXPLAIN
560
560
SELECT s.oxid FROM t1 v, t1 s 
561
561
  WHERE s.oxrootid = 'd8c4177d09f8b11f5.52725521' AND
792
792
create table t2 (a varchar(10), filler char(200), key(a));
793
793
insert into t2 select * from t1;
794
794
 
795
 
--replace_column 9 #
 
795
--replace_column 3 # 8 # 9 #
796
796
explain select * from t1 where a between 'a' and 'a '; 
797
 
--replace_column 9 #
 
797
--replace_column 3 # 8 # 9 #
798
798
explain select * from t1 where a = 'a' or a='a ';
799
799
 
800
 
--replace_column 9 #
 
800
--replace_column 3 # 8 # 9 #
801
801
explain select * from t2 where a between 'a' and 'a '; 
802
 
--replace_column 9 #
 
802
--replace_column 3 # 8 # 9 #
803
803
explain select * from t2 where a = 'a' or a='a ';
804
804
 
805
805
update t1 set a='b' where a<>'a';
806
 
--replace_column 9 #
 
806
--replace_column 3 # 8 # 9 #
807
807
explain select * from t1 where a not between 'b' and 'b'; 
808
808
select a, hex(filler) from t1 where a not between 'b' and 'b'; 
809
809
 
855
855
('A1','2005-12-12 08:00:00',3000),
856
856
('A2','2005-12-01 08:00:00',1000);
857
857
 
858
 
--replace_column 9 #
 
858
--replace_column 3 # 8 # 9 #
859
859
EXPLAIN SELECT * FROM t1 WHERE item='A1' AND started<='2005-12-01 23:59:59';
860
860
SELECT * FROM t1 WHERE item='A1' AND started<='2005-12-01 23:59:59';
861
861
SELECT * FROM t1 WHERE item='A1' AND started<='2005-12-02 00:00:00';