Commit 23b1b69b authored by Andrew McDonnell's avatar Andrew McDonnell Committed by Sergei Golubchik
parent 6651005e
......@@ -1103,7 +1103,7 @@ int ha_oqgraph::info(uint flag)
int ha_oqgraph::extra(enum ha_extra_function operation)
{
if (graph->get_thd() != current_thd) {
if (graph->get_thd() != ha_thd()) {
DBUG_PRINT( "oq-debug", ("rnd_pos g->table->in_use: 0x%lx <-- current_thd 0x%lx", (long) graph->get_thd(), (long) current_thd));
graph->set_thd(current_thd);
}
......
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