diff options
author | unknown <marko@hundin.mysql.fi> | 2004-12-28 01:34:52 +0200 |
---|---|---|
committer | unknown <marko@hundin.mysql.fi> | 2004-12-28 01:34:52 +0200 |
commit | 7ce58befd33d78e1c11872fcbc696a9cfad698c2 (patch) | |
tree | 6da5ac10b2bcc95fc1120e9a5d69928fdbe40917 /innobase/page | |
parent | e3c7697431c144215af2f752d5c23b5b06e29982 (diff) | |
download | mariadb-git-7ce58befd33d78e1c11872fcbc696a9cfad698c2.tar.gz |
InnoDB: Fix some bugs in the new record format. (Bug #7493)
innobase/btr/btr0btr.c:
Remove parameter n_fields from cmp_rec_rec()
innobase/btr/btr0cur.c:
Remove parameter n_fields from cmp_rec_rec_with_match()
innobase/btr/btr0pcur.c:
Remove parameter n_fields from cmp_rec_rec()
innobase/include/rem0cmp.h:
Remove parameter n from cmp_rec_rec_with_match() and cmp_rec_rec()
innobase/include/rem0cmp.ic:
Remove parameter n from cmp_rec_rec()
innobase/include/rem0rec.ic:
Correct the implementation of rec_offs_nth_size() (Bug #7493)
innobase/page/page0page.c:
Remove parameter n_fields from cmp_rec_rec()
innobase/rem/rem0cmp.c:
Remove parameter n from cmp_rec_rec_with_match()
innobase/rem/rem0rec.c:
rec_get_offsets(): Pass the number of allocated elements to
rec_offs_set_n_alloc() instead of the number of allocated bytes,
so that debugging assertions are more likely to detect
out-of-bounds errors.
Diffstat (limited to 'innobase/page')
-rw-r--r-- | innobase/page/page0page.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/innobase/page/page0page.c b/innobase/page/page0page.c index 67c7bd936d1..20bbfba7a50 100644 --- a/innobase/page/page0page.c +++ b/innobase/page/page0page.c @@ -1749,8 +1749,7 @@ page_validate( /* Check that the records are in the ascending order */ if ((count >= 2) && (!page_cur_is_after_last(&cur))) { if (!(1 == cmp_rec_rec(rec, old_rec, - offsets, old_offsets, - ULINT_UNDEFINED, index))) { + offsets, old_offsets, index))) { fprintf(stderr, "InnoDB: Records in wrong order on page %lu", (ulong) buf_frame_get_page_no(page)); |