mariadb/storage
Marko Mäkelä a1077ab287 MDEV-22102 Assertion w==OPT failed in trx_undo_header_create()
Because InnoDB is not freeing undo pages to the normal
free-page management, old undo log pages can be reused. Due to that,
it is possible (but unlikely) that the fields TRX_UNDO_NEEDS_PURGE
and TRX_UNDO_LOG_START relative to the free offset that is stored at
TRX_UNDO_PAGE_HDR + TRX_UNDO_PAGE_START already have the correct value.
Hence, we must pass the mtr_t::OPT template parameter to silence the
debug assertion.

Other writes in trx_undo_header_create() that are using the default
template parameter seem to be correct (the data fields should be
guaranteed to change even in the event of reusing pages).
2020-04-01 10:40:53 +03:00
..
archive perfschema memory related instrumentation changes 2020-03-10 19:24:22 +01:00
blackhole cleanup: PSI key is *always* the first argument 2020-03-10 19:24:23 +01:00
cassandra cleanup: const 2020-03-31 17:42:34 +02:00
connect Merge 10.4 into 10.5 2020-03-30 19:07:25 +03:00
csv cleanup: PSI key is *always* the first argument 2020-03-10 19:24:23 +01:00
example Added page_range to records_in_range() to improve range statistics 2020-03-27 03:54:45 +02:00
federated Added page_range to records_in_range() to improve range statistics 2020-03-27 03:54:45 +02:00
federatedx Merge 10.4 into 10.5 2020-03-27 09:39:15 +02:00
heap Updated optimizer costs in multi_range_read_info_const() and sql_select.cc 2020-03-27 03:58:32 +02:00
innobase MDEV-22102 Assertion w==OPT failed in trx_undo_header_create() 2020-04-01 10:40:53 +03:00
maria MDEV-20377: Enable MemorySanitizer user-poisoning 2020-03-28 21:42:59 +02:00
mroonga fix mroonga: change field's table as well as ptr for ad-hoc // fixes ptr_in_record usage 2020-03-31 17:42:34 +02:00
myisam Updated optimizer costs in multi_range_read_info_const() and sql_select.cc 2020-03-27 03:58:32 +02:00
myisammrg Added page_range to records_in_range() to improve range statistics 2020-03-27 03:54:45 +02:00
oqgraph Added page_range to records_in_range() to improve range statistics 2020-03-27 03:54:45 +02:00
perfschema Merge 10.4 into 10.5 2020-03-23 10:50:14 +02:00
rocksdb Merge 10.4 into 10.5 2020-03-30 19:07:25 +03:00
sequence Added page_range to records_in_range() to improve range statistics 2020-03-27 03:54:45 +02:00
sphinx Added page_range to records_in_range() to improve range statistics 2020-03-27 03:54:45 +02:00
spider Merge 10.4 into 10.5 2020-03-30 19:07:25 +03:00
test_sql_discovery MDEV-19944 Remove GIS data types from keyword list in lex.h 2019-07-04 07:48:46 +04:00
tokudb Updated optimizer costs in multi_range_read_info_const() and sql_select.cc 2020-03-27 03:58:32 +02:00