mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
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.
This commit is contained in:
@ -5024,7 +5024,7 @@ send_result_message:
|
|||||||
/* Clear the ticket released in close_thread_tables(). */
|
/* Clear the ticket released in close_thread_tables(). */
|
||||||
table->mdl_request.ticket= NULL;
|
table->mdl_request.ticket= NULL;
|
||||||
DEBUG_SYNC(thd, "ha_admin_open_ltable");
|
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);
|
result_code= table->table->file->ha_analyze(thd, check_opt);
|
||||||
if (result_code == HA_ADMIN_ALREADY_DONE)
|
if (result_code == HA_ADMIN_ALREADY_DONE)
|
||||||
|
Reference in New Issue
Block a user