maria:bb-10.1-MDEV-19660

Last commit made on 2019-06-18
Get this branch:
git clone -b bb-10.1-MDEV-19660 https://git.launchpad.net/maria

Branch merges

Branch information

Name:
bb-10.1-MDEV-19660
Repository:
lp:maria

Recent commits

859052d... by Jan Lindström on 2019-06-04

MDEV-19660: wsrep_rec_get_foreign_key() is dereferencing a stale pointer to a page that was previously latched

In row_ins_foreign_check_on_constraint(), clustered index record is being passed to wsrep_append_foreign_key() after releasing the latch. If a record has been changed by other thread in the meantime then it could lead to a crash when
wsrep_rec_get_foreign_key () tries to access the record.

wsrep_append_foreign_key
 Added call to error reporting function and debug error injection.

row_ins_foreign_report_err_low
 Moved actual error reporting to a file to this low level function.

row_ins_foreign_report_err
 Use new row_ins_foreign_report_err_low function for error reporting
 to a file.

wsrep_report_foreign_key_error
 New function to report foreign key errors when appending a key for
 Galera processing.

row_ins_foreign_check_on_constraint
 Use cascade->pcur->old_rec instead of clust_rec.

Some recent commit information could not be fetched.