diff options
author | Alexey Botchkov <holyfoot@askmonty.org> | 2014-04-15 20:41:08 +0500 |
---|---|---|
committer | Alexey Botchkov <holyfoot@askmonty.org> | 2014-04-15 20:41:08 +0500 |
commit | 142c20eda9d287f7f898dd8d89821f0e809dafc6 (patch) | |
tree | f308bf21bb21b9e90bd0b52e163e004d11e78d3b /sql/slave.cc | |
parent | 708ba733dade0348611269093587e30f4cd64eb7 (diff) | |
download | mariadb-git-142c20eda9d287f7f898dd8d89821f0e809dafc6.tar.gz |
MDEV-4856 SQL_ERROR_LOG shows 1146 errors which didnt appear in mysql client.
The fill_schema_table() function used to call get_table_share() for a table name in WHERE
then clear the error list. That way plugins receive the superfluous error notification if it
happens in it. Also the problem was that error handler didn't prevent the suppressed
error message from logging anyway as the logging happens in THD::raise_condition
before the handler call.
Trigger_error_handler is remade into Warnings_only_error_handler, so it stores the error
message in all cases in the thd->stmt_da.
Then later the stored error is raised.
Diffstat (limited to 'sql/slave.cc')
0 files changed, 0 insertions, 0 deletions