summaryrefslogtreecommitdiff
path: root/mysql-test/suite/innodb/t/mvcc.test
Commit message (Collapse)AuthorAgeFilesLines
* MDEV-23198 Crash in REPLACEMarko Mäkelä2020-07-311-0/+20
| | | | | | | | | | row_vers_impl_x_locked_low(): clust_offsets may point to memory that is allocated by mem_heap_alloc() and may have been freed. For initializing clust_offsets, try to use the stack-allocated buffer instead of a pointer that may point to freed memory. This fixes a regression that was introduced in commit f0aa073f2bf3d8d85b3d028df89cdb4cdfc4002d (MDEV-20950).
* MDEV-15249 Crash in MVCC read after IMPORT TABLESPACEMarko Mäkelä2018-02-081-0/+52
PageConverter::adjust_cluster_record(): Instead of writing the invalid value DB_ROLL_PTR=0, write a value that indicates a fresh insert, that is, prevents the DB_ROLL_PTR from being dereferenced in any circumstances. It can be argued that IMPORT TABLESPACE should actually update the dict_index_t::trx_id to prevent older transactions from accessing the table, similar to what I did on table rebuild in MySQL 5.6.6 in https://github.com/mysql/mysql-server/commit/03f81a55f221095d397c375afe8a10c8038da339