summaryrefslogtreecommitdiff
path: root/myisam/mi_rprev.c
diff options
context:
space:
mode:
Diffstat (limited to 'myisam/mi_rprev.c')
-rw-r--r--myisam/mi_rprev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/myisam/mi_rprev.c b/myisam/mi_rprev.c
index 6a75cc0daa6..471eecc33f5 100644
--- a/myisam/mi_rprev.c
+++ b/myisam/mi_rprev.c
@@ -58,7 +58,7 @@ int mi_rprev(MI_INFO *info, byte *buf, int inx)
/* Skip rows that are inserted by other threads since we got a lock */
if ((error=_mi_search_next(info,share->keyinfo+inx,info->lastkey,
info->lastkey_length,
- flag,
+ SEARCH_SMALLER,
share->state.key_root[inx])))
break;
}