This commit is contained in:
Andrew McDonnell 2016-04-09 22:39:22 +09:30 committed by Sergei Golubchik
parent 6651005e62
commit 23b1b69b10

View File

@ -1103,7 +1103,7 @@ int ha_oqgraph::info(uint flag)
int ha_oqgraph::extra(enum ha_extra_function operation) 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)); 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); graph->set_thd(current_thd);
} }