Fix for MDEV-8206, as per Jira comments of 2015-11-16 and 2015-11-30

This commit is contained in:
Andrew McDonnell 2016-01-22 21:13:33 +10:30 committed by Sergei Golubchik
parent 011497bd60
commit 6651005e62

View file

@ -1103,6 +1103,10 @@ int ha_oqgraph::info(uint flag)
int ha_oqgraph::extra(enum ha_extra_function operation)
{
if (graph->get_thd() != 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);
}
return edges->file->extra(operation);
}