mariadb/storage/innobase/rem
Marko Mäkelä 9c373d4d1d Fix bogus rec_get_offsets() debug assertion failures for ROW_FORMAT=REDUNDANT
When the debug parameter 'bool leaf' was added to rec_get_offsets(),
also some debug assertions for reading the heap_no of ROW_FORMAT=REDUNDANT
records were added. However, the heap number is uninitialized when
offsets are being computed for to-be-inserted records.

For debug builds, initialize the heap number to a dummy value, so that
the record will be interpreted as 'user record'. The infimum and supremum
pseudo-records are never copied from the page frame and never inserted;
they are part of the page creation.

rec_convert_dtuple_to_rec_old(): Remove a bogus memset() in debug builds.
2017-09-21 10:14:30 +03:00
..
rem0cmp.cc Introduce page_rec_is_leaf() and clean up page0page.h 2017-09-20 08:42:44 +03:00
rem0rec.cc Fix bogus rec_get_offsets() debug assertion failures for ROW_FORMAT=REDUNDANT 2017-09-21 10:14:30 +03:00