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
c09c265a
Commit
c09c265a
authored
May 05, 2015
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix MDEV-8090 in tabmysql.cpp
parent
f5b05a11
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
storage/connect/tabmysql.cpp
storage/connect/tabmysql.cpp
+9
-2
No files found.
storage/connect/tabmysql.cpp
View file @
c09c265a
...
...
@@ -1060,9 +1060,16 @@ bool TDBMYSQL::ReadKey(PGLOBAL g, OPVAL op, const void *key, int len)
int
oldlen
=
Query
->
GetLength
();
if
(
!
key
||
op
==
OP_NEXT
||
Mode
==
MODE_UPDATE
||
Mode
==
MODE_DELETE
)
Mode
==
MODE_UPDATE
||
Mode
==
MODE_DELETE
)
{
if
(
!
key
&&
Mode
==
MODE_READX
)
{
// This is a false indexed read
m_Rc
=
Myc
.
ExecSQL
(
g
,
Query
->
GetStr
());
Mode
=
MODE_READ
;
return
(
m_Rc
==
RC_FX
)
?
true
:
false
;
}
// endif key
return
false
;
else
if
(
op
==
OP_FIRST
)
{
}
else
if
(
op
==
OP_FIRST
)
{
if
(
To_CondFil
)
{
oom
=
Query
->
Append
(
" WHERE "
);
...
...
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