diff options
author | Monty <monty@mariadb.org> | 2022-02-16 14:47:26 +0200 |
---|---|---|
committer | Monty <monty@mariadb.org> | 2022-02-16 17:16:10 +0200 |
commit | 0a92ef458bba67223555066cc866a3b553768906 (patch) | |
tree | 597b28eca01230592ad26e2da0b570ee29750ffa /support-files | |
parent | 6c3f1f661c6df622a9dc39d59e9a48e6709a6d44 (diff) | |
download | mariadb-git-0a92ef458bba67223555066cc866a3b553768906.tar.gz |
MDEV-17223 Assertion `thd->killed != 0' failed in ha_maria::enable_indexes
MDEV-22500 Assertion `thd->killed != 0' failed in ha_maria::enable_indexes
For MDEV-17223 the issue was an assert that didn't take into account that
we could get duplicate key errors when enablling unique indexes.
Fixed by not retrying repair in case of duplicate key error for this
case, which avoids the assert.
For MDEV-22500 I removed the assert, as it's not critical (just a way to
find potential wrong code) and we will anyway get things logged in the
error log if this happens. This case cannot triggered an assert in 10.3
but I verified that it would trigger in 10.5 and that this patch fixes
it.
Diffstat (limited to 'support-files')
0 files changed, 0 insertions, 0 deletions