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
d69931ee
Commit
d69931ee
authored
Sep 09, 2015
by
Olivier Bertrand
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'ob-10.0' into 10.0
parents
cd9b9199
e939ea58
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
storage/connect/ha_connect.cc
storage/connect/ha_connect.cc
+5
-4
No files found.
storage/connect/ha_connect.cc
View file @
d69931ee
...
...
@@ -2486,9 +2486,6 @@ PFIL ha_connect::CondFilter(PGLOBAL g, Item *cond)
if
(
!
i
&&
(
ismul
))
return
NULL
;
if
((
res
=
pval
->
val_str
(
&
tmp
))
==
NULL
)
return
NULL
;
// To be clarified
switch
(
args
[
i
]
->
real_type
())
{
case
COND
:
:
STRING_ITEM
:
pp
->
Value
=
PlugSubAllocStr
(
g
,
NULL
,
res
->
ptr
(),
res
->
length
());
...
...
@@ -2520,7 +2517,11 @@ PFIL ha_connect::CondFilter(PGLOBAL g, Item *cond)
return
NULL
;
}
// endswitch type
if
(
trace
)
// This was moved because cannot be done for FUNC_ITEM
if
((
res
=
pval
->
val_str
(
&
tmp
))
==
NULL
)
return
NULL
;
// To be clarified
if
(
trace
)
htrc
(
"Value=%.*s
\n
"
,
res
->
length
(),
res
->
ptr
());
// Append the value to the argument list
...
...
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