mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 04:53:01 +01:00
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.
This commit is contained in:
parent
7a41306bc5
commit
6aa400bee4
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue