mirror of
https://github.com/MariaDB/server.git
synced 2025-07-04 18:38:14 +02:00
![]() In a UBSAN debug build, the comparisons with next_mrec_end are made with index->online_log's head/tail members' block ptr with a sort buffer size offset (1048576). The logic that flows though to this point means that even srv_sort_buf_size above a null pointer wouldn't contain the value of next_mrec_end. As such this is a UBSAN type fix where we first check if the head.block / tail.block is null before doing the asserts around this debug condition. This would be required for the assertions conditions not to segfault anyway. |
||
---|---|---|
.. | ||
row0ext.cc | ||
row0ftsort.cc | ||
row0import.cc | ||
row0ins.cc | ||
row0log.cc | ||
row0merge.cc | ||
row0mysql.cc | ||
row0purge.cc | ||
row0quiesce.cc | ||
row0row.cc | ||
row0sel.cc | ||
row0uins.cc | ||
row0umod.cc | ||
row0undo.cc | ||
row0upd.cc | ||
row0vers.cc |