Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
99b45a4d
Commit
99b45a4d
authored
Sep 06, 2006
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug #21056 ndb pushdown equal/setValue error on datetime: Added missing order by
parent
545c9b8f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
mysql-test/r/ndb_condition_pushdown.result
mysql-test/r/ndb_condition_pushdown.result
+4
-4
mysql-test/t/ndb_condition_pushdown.test
mysql-test/t/ndb_condition_pushdown.test
+4
-4
No files found.
mysql-test/r/ndb_condition_pushdown.result
View file @
99b45a4d
...
@@ -1783,10 +1783,10 @@ a b
...
@@ -1783,10 +1783,10 @@ a b
1 jonas
1 jonas
3 johan
3 johan
set engine_condition_pushdown = off;
set engine_condition_pushdown = off;
select auto from t1 where date_time like '1902-02-02 %';
select auto from t1 where date_time like '1902-02-02 %'
order by auto
;
auto
auto
2
2
select auto from t1 where date_time not like '1902-02-02 %';
select auto from t1 where date_time not like '1902-02-02 %'
order by auto
;
auto
auto
3
3
4
4
...
@@ -1794,13 +1794,13 @@ set engine_condition_pushdown = on;
...
@@ -1794,13 +1794,13 @@ set engine_condition_pushdown = on;
explain select auto from t1 where date_time like '1902-02-02 %';
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
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 ALL NULL NULL NULL NULL 3 Using where
1 SIMPLE t1 ALL NULL NULL NULL NULL 3 Using where
select auto from t1 where date_time like '1902-02-02 %';
select auto from t1 where date_time like '1902-02-02 %'
order by auto
;
auto
auto
2
2
explain select auto from t1 where date_time not like '1902-02-02 %';
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
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 ALL NULL NULL NULL NULL 3 Using where
1 SIMPLE t1 ALL NULL NULL NULL NULL 3 Using where
select auto from t1 where date_time not like '1902-02-02 %';
select auto from t1 where date_time not like '1902-02-02 %'
order by auto
;
auto
auto
3
3
4
4
...
...
mysql-test/t/ndb_condition_pushdown.test
View file @
99b45a4d
...
@@ -1651,13 +1651,13 @@ select * from t5 where b like '%jo%' order by a;
...
@@ -1651,13 +1651,13 @@ select * from t5 where b like '%jo%' order by a;
# bug#21056 ndb pushdown equal/setValue error on datetime
# bug#21056 ndb pushdown equal/setValue error on datetime
set
engine_condition_pushdown
=
off
;
set
engine_condition_pushdown
=
off
;
select
auto
from
t1
where
date_time
like
'1902-02-02 %'
;
select
auto
from
t1
where
date_time
like
'1902-02-02 %'
order
by
auto
;
select
auto
from
t1
where
date_time
not
like
'1902-02-02 %'
;
select
auto
from
t1
where
date_time
not
like
'1902-02-02 %'
order
by
auto
;
set
engine_condition_pushdown
=
on
;
set
engine_condition_pushdown
=
on
;
explain
select
auto
from
t1
where
date_time
like
'1902-02-02 %'
;
explain
select
auto
from
t1
where
date_time
like
'1902-02-02 %'
;
select
auto
from
t1
where
date_time
like
'1902-02-02 %'
;
select
auto
from
t1
where
date_time
like
'1902-02-02 %'
order
by
auto
;
explain
select
auto
from
t1
where
date_time
not
like
'1902-02-02 %'
;
explain
select
auto
from
t1
where
date_time
not
like
'1902-02-02 %'
;
select
auto
from
t1
where
date_time
not
like
'1902-02-02 %'
;
select
auto
from
t1
where
date_time
not
like
'1902-02-02 %'
order
by
auto
;
# bug#17421 -1
# bug#17421 -1
drop
table
t1
;
drop
table
t1
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment