diff options
author | Dmitry Lenev <dlenev@mysql.com> | 2010-05-13 13:24:59 +0400 |
---|---|---|
committer | Dmitry Lenev <dlenev@mysql.com> | 2010-05-13 13:24:59 +0400 |
commit | 92ca1a5256c08afa18c52d66a2bc6b144a7a84ac (patch) | |
tree | a57524447dd2e97fd6b6e59e67130c7e28c2502c /sql/sql_table.cc | |
parent | 9e62cf67b3cf0b92e4f57d49149000d640963bed (diff) | |
download | mariadb-git-92ca1a5256c08afa18c52d66a2bc6b144a7a84ac.tar.gz |
Fix compiler warning about "assignment used as truth value"
which was introduced by fix for bug 47459 "Assertion in
Diagnostics_area::set_eof_status on OPTIMIZE TABLE.
Diffstat (limited to 'sql/sql_table.cc')
-rw-r--r-- | sql/sql_table.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_table.cc b/sql/sql_table.cc index 4987e937555..2b8e7de3a60 100644 --- a/sql/sql_table.cc +++ b/sql/sql_table.cc @@ -5024,7 +5024,7 @@ send_result_message: /* Clear the ticket released in close_thread_tables(). */ table->mdl_request.ticket= NULL; DEBUG_SYNC(thd, "ha_admin_open_ltable"); - if (table->table= open_ltable(thd, table, lock_type, 0)) + if ((table->table= open_ltable(thd, table, lock_type, 0))) { result_code= table->table->file->ha_analyze(thd, check_opt); if (result_code == HA_ADMIN_ALREADY_DONE) |