summaryrefslogtreecommitdiff
path: root/innobase/btr
diff options
context:
space:
mode:
authorunknown <heikki@hundin.mysql.fi>2003-01-05 21:58:06 +0200
committerunknown <heikki@hundin.mysql.fi>2003-01-05 21:58:06 +0200
commitdb060cb713edaccfc447dda687a5e58c5b5b4e7a (patch)
tree1a95ba64aba9a5a6add93dc1d971557a3c6d1cfd /innobase/btr
parente3c7f4d85ec4caf59fc408cf5643e5dc64e9a3d4 (diff)
downloadmariadb-git-db060cb713edaccfc447dda687a5e58c5b5b4e7a.tar.gz
btr0pcur.c:
Fix bug: an index cursor can theoretically be restored in a wrong place log0log.c: Fix bug: if combined log file size is >= 2 GB in a 32-bit computer InnoDB can write log to a wrong position innobase/log/log0log.c: Fix bug: if combined log file size is >= 2 GB in a 32-bit computer InnoDB can write log to a wrong position innobase/btr/btr0pcur.c: Fix bug: an index cursor can theoretically be restored in a wrong place
Diffstat (limited to 'innobase/btr')
-rw-r--r--innobase/btr/btr0pcur.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/innobase/btr/btr0pcur.c b/innobase/btr/btr0pcur.c
index b2115dfdd6c..7b817d8263d 100644
--- a/innobase/btr/btr0pcur.c
+++ b/innobase/btr/btr0pcur.c
@@ -292,6 +292,11 @@ btr_pcur_restore_position(
mem_heap_free(heap);
+ /* We have to store position information, modify clock value, etc.
+ because the cursor may now be on a different page */
+
+ btr_pcur_store_position(cursor, mtr);
+
return(FALSE);
}