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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
cc524b4f
Commit
cc524b4f
authored
Jun 02, 2005
by
mskold@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed bug introduced when implementing support for IN and BETWEEN
parent
e8613e53
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
7 deletions
+1
-7
mysql-test/r/ndb_condition_pushdown.result
mysql-test/r/ndb_condition_pushdown.result
+1
-1
sql/ha_ndbcluster.cc
sql/ha_ndbcluster.cc
+0
-6
No files found.
mysql-test/r/ndb_condition_pushdown.result
View file @
cc524b4f
...
...
@@ -1760,7 +1760,7 @@ id select_type table type possible_keys key key_len ref rows Extra
explain
select * from t2 where (attr1 < 2) = (attr2 < 2) order by pk1;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t2 ALL NULL NULL NULL NULL 6 Using where
with pushed condition
; Using filesort
1 SIMPLE t2 ALL NULL NULL NULL NULL 6 Using where; Using filesort
explain
select * from t3 left join t4 on t4.attr2 = t3.attr2 where t4.attr1 > 1 and t4.attr3 < 5 or t4.attr1 is null order by t4.pk1;
id select_type table type possible_keys key key_len ref rows Extra
...
...
sql/ha_ndbcluster.cc
View file @
cc524b4f
...
...
@@ -6476,7 +6476,6 @@ void ndb_serialize_cond(const Item *item, void *arg)
context
->
expect_field_result
(
REAL_RESULT
);
context
->
expect_field_result
(
INT_RESULT
);
context
->
expect_field_result
(
DECIMAL_RESULT
);
context
->
expect
(
Item
::
FUNC_ITEM
);
break
;
}
case
(
Item_func
:
:
NE_FUNC
)
:
{
...
...
@@ -6493,7 +6492,6 @@ void ndb_serialize_cond(const Item *item, void *arg)
context
->
expect_field_result
(
REAL_RESULT
);
context
->
expect_field_result
(
INT_RESULT
);
context
->
expect_field_result
(
DECIMAL_RESULT
);
context
->
expect
(
Item
::
FUNC_ITEM
);
break
;
}
case
(
Item_func
:
:
LT_FUNC
)
:
{
...
...
@@ -6510,7 +6508,6 @@ void ndb_serialize_cond(const Item *item, void *arg)
context
->
expect_field_result
(
REAL_RESULT
);
context
->
expect_field_result
(
INT_RESULT
);
context
->
expect_field_result
(
DECIMAL_RESULT
);
context
->
expect
(
Item
::
FUNC_ITEM
);
break
;
}
case
(
Item_func
:
:
LE_FUNC
)
:
{
...
...
@@ -6527,7 +6524,6 @@ void ndb_serialize_cond(const Item *item, void *arg)
context
->
expect_field_result
(
REAL_RESULT
);
context
->
expect_field_result
(
INT_RESULT
);
context
->
expect_field_result
(
DECIMAL_RESULT
);
context
->
expect
(
Item
::
FUNC_ITEM
);
break
;
}
case
(
Item_func
:
:
GE_FUNC
)
:
{
...
...
@@ -6544,7 +6540,6 @@ void ndb_serialize_cond(const Item *item, void *arg)
context
->
expect_field_result
(
REAL_RESULT
);
context
->
expect_field_result
(
INT_RESULT
);
context
->
expect_field_result
(
DECIMAL_RESULT
);
context
->
expect
(
Item
::
FUNC_ITEM
);
break
;
}
case
(
Item_func
:
:
GT_FUNC
)
:
{
...
...
@@ -6561,7 +6556,6 @@ void ndb_serialize_cond(const Item *item, void *arg)
context
->
expect_field_result
(
REAL_RESULT
);
context
->
expect_field_result
(
INT_RESULT
);
context
->
expect_field_result
(
DECIMAL_RESULT
);
context
->
expect
(
Item
::
FUNC_ITEM
);
break
;
}
case
(
Item_func
:
:
LIKE_FUNC
)
:
{
...
...
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