diff options
author | Gleb Shchepa <gshchepa@mysql.com> | 2008-11-28 20:36:07 +0400 |
---|---|---|
committer | Gleb Shchepa <gshchepa@mysql.com> | 2008-11-28 20:36:07 +0400 |
commit | d15cbc1a1abf8c61398c096b0a0271d361da552c (patch) | |
tree | 1f89d58c9976e1a0a2e68e2b50def91f2842f801 /mysql-test/t/view.test | |
parent | 552a1bd3528323a6ca13080eb5b9fdfecfc5efb3 (diff) | |
download | mariadb-git-d15cbc1a1abf8c61398c096b0a0271d361da552c.tar.gz |
Bug #40745: Error during WHERE clause calculation in UPDATE
leads to an assertion failure
Any run-time error in stored function (like recursive function
call or update of table that is already updating by statement
which invoked this stored function etc.) that was used in some
expression of the single-table UPDATE statement caused an
assertion failure.
Multiple-table UPDATE (as well as INSERT and both single- and
multiple-table DELETE) are not affected.
mysql-test/r/update.result:
Added test case for bug #40745.
mysql-test/t/update.test:
Added test case for bug #40745.
sql/sql_update.cc:
Bug #40745: Error during WHERE clause calculation in UPDATE
leads to an assertion failure
The mysql_update function has been updated to take into account
the status of invoked stored functions before setting the status
of whole UPDATE query to OK.
Diffstat (limited to 'mysql-test/t/view.test')
0 files changed, 0 insertions, 0 deletions