Browse Source
Refactor trx_undo_report_row_operation()
Refactor trx_undo_report_row_operation()
Fix a -fsanitizer=undefined warning that trx_undo_report_row_operation() was being passed thr=NULL when the BTR_NO_UNDO_LOG_FLAG flag was set. trx_undo_report_row_operation(): Remove the first two parameters. The parameter clust_entry!=NULL distinguishes inserts from updates. This should be a non-functional change (no observable change in behaviour; slightly smaller code).pull/322/merge
6 changed files with 53 additions and 108 deletions
-
26storage/innobase/btr/btr0cur.cc
-
11storage/innobase/include/trx0rec.h
-
45storage/innobase/trx/trx0rec.cc
-
26storage/xtradb/btr/btr0cur.cc
-
11storage/xtradb/include/trx0rec.h
-
42storage/xtradb/trx/trx0rec.cc
Write
Preview
Loading…
Cancel
Save
Reference in new issue