1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

old_total_warn_count is not used

and was removed from THD


sql/sql_class.h:
  old_total_warn_count removed
sql/sql_parse.cc:
  old_total_warn_count removed
This commit is contained in:
unknown
2003-10-31 15:15:13 +03:00
parent ff18208257
commit 0992a2a7cc
2 changed files with 1 additions and 6 deletions

View File

@@ -1704,11 +1704,6 @@ mysql_execute_command(THD *thd)
*/
if (tables || &lex->select_lex != lex->all_selects_list)
mysql_reset_errors(thd);
/*
Save old warning count to be able to send to client how many warnings we
got
*/
thd->old_total_warn_count= thd->total_warn_count;
#ifdef HAVE_REPLICATION
if (thd->slave_thread)