diff options
Diffstat (limited to 'storage/oqgraph/graphcore.cc')
-rw-r--r-- | storage/oqgraph/graphcore.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/storage/oqgraph/graphcore.cc b/storage/oqgraph/graphcore.cc index de575c9da65..73433fc8219 100644 --- a/storage/oqgraph/graphcore.cc +++ b/storage/oqgraph/graphcore.cc @@ -443,6 +443,9 @@ namespace open_query return num_vertices(share->g); } + THD* oqgraph::get_thd() { return share->g.get_table_thd(); } + void oqgraph::set_thd(THD* thd) { share->g.set_table_thd(thd); } + oqgraph* oqgraph::create(oqgraph_share *share) throw() { assert(share != NULL); |