diff options
author | unknown <mskold/marty@mysql.com/linux.site> | 2006-09-05 17:07:00 +0200 |
---|---|---|
committer | unknown <mskold/marty@mysql.com/linux.site> | 2006-09-05 17:07:00 +0200 |
commit | 545c9b8fdecad04d6b5acaaa1400ca8be7a7066c (patch) | |
tree | ff9cd6c538af3a1d2f1d0a998f82d25e2a312d63 /mysql-test/r/ndb_condition_pushdown.result | |
parent | 7ec32371295cd3050d3a9f80585f21e4c6b20919 (diff) | |
download | mariadb-git-545c9b8fdecad04d6b5acaaa1400ca8be7a7066c.tar.gz |
Bug #21056 ndb pushdown equal/setValue error on datetime: only pushdown like of string type fields
Diffstat (limited to 'mysql-test/r/ndb_condition_pushdown.result')
-rw-r--r-- | mysql-test/r/ndb_condition_pushdown.result | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/mysql-test/r/ndb_condition_pushdown.result b/mysql-test/r/ndb_condition_pushdown.result index 4e5597a4851..96881bd321b 100644 --- a/mysql-test/r/ndb_condition_pushdown.result +++ b/mysql-test/r/ndb_condition_pushdown.result @@ -1782,6 +1782,28 @@ select * from t5 where b like '%jo%' order by a; a b 1 jonas 3 johan +set engine_condition_pushdown = off; +select auto from t1 where date_time like '1902-02-02 %'; +auto +2 +select auto from t1 where date_time not like '1902-02-02 %'; +auto +3 +4 +set engine_condition_pushdown = on; +explain select auto from t1 where date_time like '1902-02-02 %'; +id select_type table type possible_keys key key_len ref rows Extra +1 SIMPLE t1 ALL NULL NULL NULL NULL 3 Using where +select auto from t1 where date_time like '1902-02-02 %'; +auto +2 +explain select auto from t1 where date_time not like '1902-02-02 %'; +id select_type table type possible_keys key key_len ref rows Extra +1 SIMPLE t1 ALL NULL NULL NULL NULL 3 Using where +select auto from t1 where date_time not like '1902-02-02 %'; +auto +3 +4 drop table t1; create table t1 (a int, b varchar(3), primary key using hash(a)) engine=ndb; |