diff options
| author | bell@sanja.is.com.ua <> | 2005-07-05 11:38:05 +0300 |
|---|---|---|
| committer | bell@sanja.is.com.ua <> | 2005-07-05 11:38:05 +0300 |
| commit | 15d02e60e1fce6f886d538607d5b16e69be3f797 (patch) | |
| tree | f76cced6c273267787992bca7b5d9fcdd8f287ef /sql/sql_error.cc | |
| parent | 951eff421372ea6fcb264c99bd6c5ab264c37009 (diff) | |
| parent | 67c9df1eb81f3e720c6b6df03273dcddd4067741 (diff) | |
| download | mariadb-git-15d02e60e1fce6f886d538607d5b16e69be3f797.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) { |
