diff options
author | Andrew McDonnell <bugs@andrewmcdonnell.net> | 2016-04-09 22:39:22 +0930 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2016-04-24 18:15:20 +0200 |
commit | 23b1b69b101f8f22319a8e661ebe8b4587c435d4 (patch) | |
tree | d6437a07a3857a9d20c8cd46ddaf96e197da3b4f /storage/oqgraph | |
parent | 6651005e623e3a12ca0af6a645483a165941f8fe (diff) | |
download | mariadb-git-23b1b69b101f8f22319a8e661ebe8b4587c435d4.tar.gz |
Comment from https://github.com/MariaDB/server/pull/153
Diffstat (limited to 'storage/oqgraph')
-rw-r--r-- | storage/oqgraph/ha_oqgraph.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |