diff options
author | Georgi Kodinov <joro@sun.com> | 2009-07-13 18:11:16 +0300 |
---|---|---|
committer | Georgi Kodinov <joro@sun.com> | 2009-07-13 18:11:16 +0300 |
commit | 80dd3a593a2d10281e77c242b827abb5b3a9dd92 (patch) | |
tree | 8915bb86227f4747f69f6afbe8076c9d43a2181f /sql/log_event.cc | |
parent | 9069e110d40821a5dea52ee344e35eb47067731e (diff) | |
download | mariadb-git-80dd3a593a2d10281e77c242b827abb5b3a9dd92.tar.gz |
Bug #40113: Embedded SELECT inside UPDATE or DELETE can timeout
without error
When using quick access methods for searching rows in UPDATE or
DELETE there was no check if a fatal error was not already sent
to the client while evaluating the quick condition.
As a result a false OK (following the error) was sent to the
client and the error was thus transformed into a warning.
Fixed by checking for errors sent to the client during
SQL_SELECT::check_quick() and treating them as real errors.
Fixed a wrong test case in group_min_max.test
Fixed a wrong return code in mysql_update() and mysql_delete()
Diffstat (limited to 'sql/log_event.cc')
0 files changed, 0 insertions, 0 deletions