Commit eb389d5c authored by Marko Mäkelä's avatar Marko Mäkelä

Add missing {} to silence a compiler warning

This is not affecting correctness; delete NULL is a valid operation.
parent e634fdcd
......@@ -4130,8 +4130,10 @@ void spider_db_discard_multiple_result(
if (!conn->db_conn->cmp_request_key_to_snd(&request_key))
break;
if ((result = conn->db_conn->use_result(&request_key, &error_num)))
{
result->free_result();
delete result;
}
} while (!conn->db_conn->next_result());
DBUG_VOID_RETURN;
}
......
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