Commit e286d26b authored by unknown's avatar unknown

Merge kosipov@bk-internal.mysql.com:/home/bk/mysql-4.1

into mysql.com:/home/kostja/mysql/mysql-4.1-root
parents ea2a4989 b1dd798a
...@@ -564,7 +564,7 @@ class THD :public ilink ...@@ -564,7 +564,7 @@ class THD :public ilink
List<TABLE> temporary_tables_should_be_free; // list of temporary tables List<TABLE> temporary_tables_should_be_free; // list of temporary tables
List <MYSQL_ERROR> warn_list; List <MYSQL_ERROR> warn_list;
uint warn_count[(uint) MYSQL_ERROR::WARN_LEVEL_END]; uint warn_count[(uint) MYSQL_ERROR::WARN_LEVEL_END];
uint total_warn_count, old_total_warn_count; uint total_warn_count;
ulong query_id, warn_id, version, options, thread_id, col_access; ulong query_id, warn_id, version, options, thread_id, col_access;
ulong current_stmt_id; ulong current_stmt_id;
ulong rand_saved_seed1, rand_saved_seed2; ulong rand_saved_seed1, rand_saved_seed2;
......
...@@ -1704,11 +1704,6 @@ mysql_execute_command(THD *thd) ...@@ -1704,11 +1704,6 @@ mysql_execute_command(THD *thd)
*/ */
if (tables || &lex->select_lex != lex->all_selects_list) if (tables || &lex->select_lex != lex->all_selects_list)
mysql_reset_errors(thd); 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 #ifdef HAVE_REPLICATION
if (thd->slave_thread) if (thd->slave_thread)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment