From 23b1b69b101f8f22319a8e661ebe8b4587c435d4 Mon Sep 17 00:00:00 2001 From: Andrew McDonnell Date: Sat, 9 Apr 2016 22:39:22 +0930 Subject: [PATCH] Comment from https://github.com/MariaDB/server/pull/153 --- storage/oqgraph/ha_oqgraph.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage/oqgraph/ha_oqgraph.cc b/storage/oqgraph/ha_oqgraph.cc index ec12cebe53a..f7add0d4204 100644 --- a/storage/oqgraph/ha_oqgraph.cc +++ b/storage/oqgraph/ha_oqgraph.cc @@ -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); }