diff options
author | monty@mysql.com <> | 2004-06-01 23:39:39 +0300 |
---|---|---|
committer | monty@mysql.com <> | 2004-06-01 23:39:39 +0300 |
commit | 53d05f4adbf21f70fde5d552321033792479c6f1 (patch) | |
tree | e6638a944a24b46bb485e09bf3ec6613ab1dfd0d /sql/sql_insert.cc | |
parent | 197fcf1ee4b1c0af33fb7386fa88f8393b042773 (diff) | |
download | mariadb-git-53d05f4adbf21f70fde5d552321033792479c6f1.tar.gz |
Removed compiler warnings
Diffstat (limited to 'sql/sql_insert.cc')
-rw-r--r-- | sql/sql_insert.cc | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/sql/sql_insert.cc b/sql/sql_insert.cc index 5b1b18e80e4..037dd99d3b6 100644 --- a/sql/sql_insert.cc +++ b/sql/sql_insert.cc @@ -1199,7 +1199,8 @@ extern "C" pthread_handler_decl(handle_delayed_insert,arg) /* request for new delayed insert */ if (!(thd->lock=mysql_lock_tables(thd,&di->table,1))) { - di->dead=thd->killed=1; // Fatal error + di->dead= 1; // Some fatal error + thd->killed= 1; } pthread_cond_broadcast(&di->cond_client); } @@ -1207,7 +1208,8 @@ extern "C" pthread_handler_decl(handle_delayed_insert,arg) { if (di->handle_inserts()) { - di->dead=thd->killed=1; // Some fatal error + di->dead= 1; // Some fatal error + thd->killed= 1; } } di->status=0; @@ -1234,7 +1236,8 @@ end: close_thread_tables(thd); // Free the table di->table=0; - di->dead=thd->killed=1; // If error + di->dead= 1; // If error + thd->killed= 1; pthread_cond_broadcast(&di->cond_client); // Safety pthread_mutex_unlock(&di->mutex); |