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
b1c8bf46
Commit
b1c8bf46
authored
Dec 10, 2019
by
Olivier Bertrand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make LIKE_FUNC only for version >= 10.2 in ha_connect.cc
parent
4692094d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
storage/connect/ha_connect.cc
storage/connect/ha_connect.cc
+2
-0
No files found.
storage/connect/ha_connect.cc
View file @
b1c8bf46
...
@@ -2966,10 +2966,12 @@ PCFIL ha_connect::CheckCond(PGLOBAL g, PCFIL filp, const Item *cond)
...
@@ -2966,10 +2966,12 @@ PCFIL ha_connect::CheckCond(PGLOBAL g, PCFIL filp, const Item *cond)
case
Item_func
:
:
LE_FUNC
:
vop
=
OP_LE
;
break
;
case
Item_func
:
:
LE_FUNC
:
vop
=
OP_LE
;
break
;
case
Item_func
:
:
GE_FUNC
:
vop
=
OP_GE
;
break
;
case
Item_func
:
:
GE_FUNC
:
vop
=
OP_GE
;
break
;
case
Item_func
:
:
GT_FUNC
:
vop
=
OP_GT
;
break
;
case
Item_func
:
:
GT_FUNC
:
vop
=
OP_GT
;
break
;
#if MYSQL_VERSION_ID > 100200
case
Item_func
:
:
LIKE_FUNC
:
case
Item_func
:
:
LIKE_FUNC
:
vop
=
OP_LIKE
;
vop
=
OP_LIKE
;
neg
=
((
Item_func_like
*
)
condf
)
->
negated
;
neg
=
((
Item_func_like
*
)
condf
)
->
negated
;
break
;
break
;
#endif // VERSION_ID > 100200
case
Item_func
:
:
ISNOTNULL_FUNC
:
case
Item_func
:
:
ISNOTNULL_FUNC
:
neg
=
true
;
neg
=
true
;
// fall through
// fall through
...
...
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