Commit a62d027d authored by marko's avatar marko

branches/zip: trx_undo_prev_version_build(): Remove the fix that was

suggested by Heikki, because it breaks row_vers_impl_x_locked_off_kernel();
see Mantis issue #10.

However, now that Heikki's fix has been removed, the code may break elsewhere
when it tries to dereference half-freed or completely freed externally
stored columns.
parent 0b23b9ba
......@@ -1466,6 +1466,7 @@ trx_undo_prev_version_build(
cannot have purged the BLOBs referenced by that version
yet). */
#if 0 /* This may cause a failure in row_vers_impl_x_locked_off_kernel(). */
if ((info_bits & REC_INFO_DELETED_FLAG)
&& !trx_purge_update_undo_must_exist(trx_id)) {
......@@ -1476,6 +1477,7 @@ trx_undo_prev_version_build(
return(DB_SUCCESS);
}
#endif
ptr = trx_undo_rec_skip_row_ref(ptr, index);
......
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