diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2019-05-10 10:49:09 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2019-05-10 10:50:35 +0300 |
commit | 8ce702aa90c174566f4ac950e85cc7570bf9b647 (patch) | |
tree | 2b061af942a1ac94c33f68d8706c69b6a2a93a49 /support-files/rpm | |
parent | b2f3755c8e174ec5385c9a56783f0a77f054c562 (diff) | |
download | mariadb-git-8ce702aa90c174566f4ac950e85cc7570bf9b647.tar.gz |
MDEV-17540 Server crashes in row_purge after TRUNCATE TABLE
row_purge_upd_exist_or_extern_func(): Check for node->vcol_op_failed()
after row_purge_remove_sec_if_poss(), like row_purge_del_mark() did.
This avoids us dereferencing the node->table=NULL pointer.
The test case, submitted by Elena Stepanova, is not deterministic and
does not repeat the bug on 10.2. With the added loop, for me, it reliably
crashes 10.3 without the fix. I was unable to create a deterministic
test case for either 10.2 or 10.3.
Reviewed by Thirunarayanan Balathandayuthapani
Diffstat (limited to 'support-files/rpm')
0 files changed, 0 insertions, 0 deletions