diff options
author | Sunny Bains <Sunny.Bains@Oracle.Com> | 2012-02-10 14:09:12 +1100 |
---|---|---|
committer | Sunny Bains <Sunny.Bains@Oracle.Com> | 2012-02-10 14:09:12 +1100 |
commit | b566d9a512a9671a423e1ff944d1e4ede2df7f7e (patch) | |
tree | 4a42834e9cba3785fdf45999e818f4d267ce0da5 /sql-common | |
parent | 1c4fd3bb546a501fc95ca52def2c728681d62b28 (diff) | |
download | mariadb-git-b566d9a512a9671a423e1ff944d1e4ede2df7f7e.tar.gz |
BUG#12739098 - 62401: ASSERTION TRX->ERROR_STATE == DB_SUCCESS, QUE0QUE.C LINE 1264 ON TRUNCATE
During FIC error handling the trx->error_state was not being set to DB_SUCCESS
after failure, before attempting the next DDL SQL operation. This reset to
DB_SUCCESS is somewhat of a requirement though not explicitly stated anywhere.
The fix is to reset it to DB_SUCCESS in row0merge.cc if row_merge_rename_indexes
or row_merge_drop_index functions fail, also reset to DB_SUCCESS at trx commit.
rb://935 Approved by Jimmy Yang.
Diffstat (limited to 'sql-common')
0 files changed, 0 insertions, 0 deletions