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
f3047906
Commit
f3047906
authored
Jan 03, 2005
by
mskold@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Merge fix for condition pushdown to storage engine
parent
d46c3805
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
8 deletions
+4
-8
sql/ha_ndbcluster.cc
sql/ha_ndbcluster.cc
+4
-4
sql/ha_ndbcluster.h
sql/ha_ndbcluster.h
+0
-4
No files found.
sql/ha_ndbcluster.cc
View file @
f3047906
...
...
@@ -5815,8 +5815,8 @@ ha_ndbcluster::build_scan_filter_predicate(Ndb_cond *cond,
if
(
value
->
qualification
.
value_type
!=
Item
::
STRING_ITEM
)
break
;
String
*
str
=
value
->
getStringValue
();
DBUG_PRINT
(
"info"
,
(
"Generating LIKE filter: like(%d,%s,%d)"
,
field
->
getFieldNo
(),
str
->
ptr
(),
str
->
length
()));
filter
->
like
(
field
->
getFieldNo
(),
str
->
ptr
(),
str
->
length
(),
TRUE
);
//
filter->like(field->getFieldNo(),
//
str->ptr(), str->length(), TRUE);
DBUG_RETURN
(
cond
->
next
->
next
->
next
);
}
case
(
Item_func
:
:
NOTLIKE_FUNC
)
:
{
...
...
@@ -5835,8 +5835,8 @@ ha_ndbcluster::build_scan_filter_predicate(Ndb_cond *cond,
if
(
value
->
qualification
.
value_type
!=
Item
::
STRING_ITEM
)
break
;
String
*
str
=
value
->
getStringValue
();
DBUG_PRINT
(
"info"
,
(
"Generating NOTLIKE filter: notlike(%d,%s,%d)"
,
field
->
getFieldNo
(),
str
->
ptr
(),
str
->
length
()));
filter
->
notlike
(
field
->
getFieldNo
(),
str
->
ptr
(),
str
->
length
());
//
filter->notlike(field->getFieldNo(),
//
str->ptr(), str->length());
DBUG_RETURN
(
cond
->
next
->
next
->
next
);
}
case
(
Item_func
:
:
ISNULL_FUNC
)
:
...
...
sql/ha_ndbcluster.h
View file @
f3047906
...
...
@@ -433,10 +433,6 @@ class ha_ndbcluster: public handler
NdbIndexScanOperation
*
m_multi_cursor
;
byte
*
m_multi_range_cursor_result_ptr
;
int
setup_recattr
(
const
NdbRecAttr
*
);
friend
int
execute_no_commit
(
ha_ndbcluster
*
,
NdbTransaction
*
);
friend
int
execute_commit
(
ha_ndbcluster
*
,
NdbTransaction
*
);
friend
int
execute_no_commit_ie
(
ha_ndbcluster
*
,
NdbTransaction
*
);
};
bool
ndbcluster_init
(
void
);
...
...
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