summaryrefslogtreecommitdiff
path: root/myisam/mi_rprev.c
diff options
context:
space:
mode:
authorunknown <monty@donna.mysql.com>2001-02-18 13:56:10 +0200
committerunknown <monty@donna.mysql.com>2001-02-18 13:56:10 +0200
commit8afcb175aa83b1f3d9f8ecbf15bdaec5f31d0d40 (patch)
tree47cf20488aa11083734792277f16161f7dad6aff /myisam/mi_rprev.c
parent3006cd3246edb5781cb924e0dcdab9a719b10db2 (diff)
downloadmariadb-git-8afcb175aa83b1f3d9f8ecbf15bdaec5f31d0d40.tar.gz
Fixed problem with concurrent inserts and read-previous
Fix for BSDI 4.0 Docs/manual.texi: Added MySQL AB information configure.in: Fix for BSDI 4.0 myisam/mi_rprev.c: Fixed problem with concurrent inserts and read-previous mysys/mf_format.c: Fix for BSDI 4.0 sql/handler.cc: Fixed type
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 69d18b10287..fff2d2257b6 100644
--- a/myisam/mi_rprev.c
+++ b/myisam/mi_rprev.c
@@ -54,7 +54,7 @@ int mi_rprev(MI_INFO *info, byte *buf, int inx)
if (!error)
{
- while (info->lastpos > info->state->data_file_length)
+ while (info->lastpos >= info->state->data_file_length)
{
/* Skip rows that are inserted by other threads since we got a lock */
if ((error=_mi_search_next(info,share->keyinfo+inx,info->lastkey,