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
d53ac196
Commit
d53ac196
authored
Sep 14, 2006
by
istruewing@chilla.local
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug#14400 - Query joins wrong rows from table which is subject of
"concurrent insert" After merge fix.
parent
45ceab9e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
myisam/mi_rkey.c
myisam/mi_rkey.c
+2
-2
No files found.
myisam/mi_rkey.c
View file @
d53ac196
...
...
@@ -103,7 +103,7 @@ int mi_rkey(MI_INFO *info, byte *buf, int inx, const byte *key, uint key_len,
{
do
{
uint
not_used
;
uint
not_used
[
2
]
;
/*
Skip rows that are inserted by other threads since we got a lock
Note that this can only happen if we are not searching after an
...
...
@@ -122,7 +122,7 @@ int mi_rkey(MI_INFO *info, byte *buf, int inx, const byte *key, uint key_len,
*/
if
(
search_flag
==
HA_READ_KEY_EXACT
&&
ha_key_cmp
(
keyinfo
->
seg
,
key_buff
,
info
->
lastkey
,
use_key_length
,
SEARCH_FIND
,
&
not_used
))
SEARCH_FIND
,
not_used
))
{
my_errno
=
HA_ERR_KEY_NOT_FOUND
;
info
->
lastpos
=
HA_OFFSET_ERROR
;
...
...
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