diff options
author | unknown <bell@sanja.is.com.ua> | 2005-07-05 11:38:05 +0300 |
---|---|---|
committer | unknown <bell@sanja.is.com.ua> | 2005-07-05 11:38:05 +0300 |
commit | b5fd8cae27ae710ae5ab3681534c315c6049b6f7 (patch) | |
tree | f76cced6c273267787992bca7b5d9fcdd8f287ef /sql/sql_error.cc | |
parent | 8226e5fcbd97e101b1ff464bc207df7d2abecf4d (diff) | |
parent | fbdfcae6a97749e9037a173103f9a5a3e30139d9 (diff) | |
download | mariadb-git-b5fd8cae27ae710ae5ab3681534c315c6049b6f7.tar.gz |
merge
Diffstat (limited to 'sql/sql_error.cc')
-rw-r--r-- | sql/sql_error.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/sql_error.cc b/sql/sql_error.cc index 8a12339ccee..2e262569386 100644 --- a/sql/sql_error.cc +++ b/sql/sql_error.cc @@ -146,6 +146,8 @@ MYSQL_ERROR *push_warning(THD *thd, MYSQL_ERROR::enum_warning_level level, { DBUG_RETURN(NULL); } + query_cache_abort(&thd->net); + if (thd->warn_list.elements < thd->variables.max_error_count) { |