diff options
author | Martin Hansson <martin.hansson@oracle.com> | 2010-09-07 09:58:05 +0200 |
---|---|---|
committer | Martin Hansson <martin.hansson@oracle.com> | 2010-09-07 09:58:05 +0200 |
commit | 446cc653c0ab13a6fec8ab54de9f5596389b08bc (patch) | |
tree | b5a71beeffb63735a0ec8e19060817e72a1751b5 /sql/sql_trigger.cc | |
parent | d2d4fdb23f6b38ff6718a35120043627582ee836 (diff) | |
download | mariadb-git-446cc653c0ab13a6fec8ab54de9f5596389b08bc.tar.gz |
Bug#54543: update ignore with incorrect subquery leads to assertion failure:
inited==INDEX
When an error occurs while sending the data in a temporary table there was no
cleanup performed. This caused a failed assertion in the case when different
access methods were used for populating the table vs. retrieving the data from
the table if IGNORE was specified and sql_safe_updates = 0. In this case
execution continues, but the handler expects to continue with the access
method used for row retrieval.
Fixed by doing the cleanup even if errors occur.
Diffstat (limited to 'sql/sql_trigger.cc')
0 files changed, 0 insertions, 0 deletions