Commit 8437e7c1 authored by marko's avatar marko

branches/innodb+: ibuf_delete(): Add an assertion to track down Issue #117.

parent 914923fe
......@@ -3663,6 +3663,9 @@ ibuf_delete(
offsets = rec_get_offsets(
rec, index, offsets, ULINT_UNDEFINED, &heap);
/* Refuse to delete the last record. */
ut_a(page_get_n_recs(page) > 1);
lock_update_delete(block, rec);
if (!page_zip) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment