Commit a5e92c7e authored by Sergei Golubchik's avatar Sergei Golubchik

compilation warning - unused variable

parent 7b29727a
......@@ -2430,8 +2430,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