summaryrefslogtreecommitdiff
path: root/sql/sql_handler.cc
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2019-03-12 16:02:34 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2019-03-12 16:02:34 +0200
commit69b33fca8cce0912b7fecc79cbef895a119f3017 (patch)
tree2725ef29cfdadc0e0deefa7453fb331a4a09d45f /sql/sql_handler.cc
parentb32bc70e340b5b0d8fcb9aa48b1b875f3f2f12dc (diff)
downloadmariadb-git-69b33fca8cce0912b7fecc79cbef895a119f3017.tar.gz
MDEV-18878: After-merge fixes
In 10.3, all records will be processed by purge due to MDEV-12288. But, the insert undo records do not contain a transaction identifier. row_purge_parse_undo_rec(): Use node->trx_id=TRX_ID_MAX for the insert undo records. We cannot skip table lookups for these records after DISCARD TABLESPACE other than by 'detaching' the table from the undo logs by updating SYS_TABLES.ID on both DISCARD TABLESPACE and IMPORT TABLESPACE. Also, remove a redundant condition that was introduced in the merge commit 814205f306cad8a4b3e55785616ea69a027fef9d.
Diffstat (limited to 'sql/sql_handler.cc')
0 files changed, 0 insertions, 0 deletions