diff options
author | Kristofer Pettersson <kpettersson@mysql.com> | 2008-05-21 14:44:30 +0200 |
---|---|---|
committer | Kristofer Pettersson <kpettersson@mysql.com> | 2008-05-21 14:44:30 +0200 |
commit | 5b7566a1d311c0326d1e276680d03743011db549 (patch) | |
tree | b202e418f0abff4b7ffb15434b569e5a27854bc0 /mysql-test/r/status.result | |
parent | 8d07122aff559d9e6db70b1098337c7d99cce371 (diff) | |
download | mariadb-git-5b7566a1d311c0326d1e276680d03743011db549.tar.gz |
Bug#34417 Assertion failure in Diagnostics_area::set_error_status()
The Diagnostic_area caused an assertion failure in debug mode when
the disk was full.
By setting the internal error handler to ignore errors caused by
underlying logging methods, the error is avoided.
sql/log.cc:
MYSQL_QUERY_LOG::write uses IOCACHE for writing data. If writing fails
an error is pushed by the procedure my_error which in turn invokes
the default error handler my_message_sql. When the error is set the
Diagnostic_area status changes and later trigger an assertion on the
next consecutive status change which happens by for example the
function my_ok(). By intercepting the error handler from the logger
interface this error can be silenced.
Diffstat (limited to 'mysql-test/r/status.result')
0 files changed, 0 insertions, 0 deletions