Commit 876f16af authored by Sergey Petrunya's avatar Sergey Petrunya

Fix unused variable 'thd' error.

parent b1e037da
......@@ -2561,8 +2561,8 @@ int ha_maria::extra_opt(enum ha_extra_function operation, ulong cache_size)
int ha_maria::delete_all_rows()
{
THD *thd= table->in_use;
#ifdef EXTRA_DEBUG
THD *thd= table->in_use;
TRN *trn= file->trn;
if (trn && ! (trnman_get_flags(trn) & TRN_STATE_INFO_LOGGED))
{
......
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