diff options
author | marko@hundin.mysql.fi <> | 2005-01-25 12:10:24 +0200 |
---|---|---|
committer | marko@hundin.mysql.fi <> | 2005-01-25 12:10:24 +0200 |
commit | fbb7d9a9df84f5177f9949c31fbae1909ba322fd (patch) | |
tree | 38f2a10a1e3acf460dad25241b3263d4d3fdbaf3 /innobase/btr | |
parent | 0a59f6aad012a1fd95fca7f7bc007ce0e1a83b62 (diff) | |
download | mariadb-git-fbb7d9a9df84f5177f9949c31fbae1909ba322fd.tar.gz |
InnoDB: Write status bits to MLOG_COMP_REC_INSERT entries.
It is not safe to infer the status bits from the B-tree page
level, because after MLOG_COMP_LIST_END_COPY_CREATED, the
level will not be initialized before the records have been inserted.
(Bug #7973)
Diffstat (limited to 'innobase/btr')
-rw-r--r-- | innobase/btr/btr0cur.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/innobase/btr/btr0cur.c b/innobase/btr/btr0cur.c index 4c2a501a08a..8559df16d08 100644 --- a/innobase/btr/btr0cur.c +++ b/innobase/btr/btr0cur.c @@ -1022,7 +1022,8 @@ calculate_sizes_again: /* Now, try the insert */ - *rec = page_cur_insert_rec_low(page_cursor, entry, index, NULL, mtr); + *rec = page_cur_insert_rec_low(page_cursor, entry, index, + NULL, NULL, mtr); if (!(*rec)) { /* If the record did not fit, reorganize */ btr_page_reorganize(page, index, mtr); |