mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 02:05:57 +01:00
Fix for MDEV-8206, as per Jira comments of 2015-11-16 and 2015-11-30
This commit is contained in:
parent
011497bd60
commit
6651005e62
1 changed files with 4 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue