diff options
author | Sergei Golubchik <serg@mariadb.org> | 2018-09-22 15:21:20 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2018-09-22 20:18:17 +0200 |
commit | 1144acbcbdf9b7bdf18c31f88cbe859d99658b53 (patch) | |
tree | 0c431e8bcf2f08ebffc14ef0180f1d660def565b /storage/tokudb/ha_tokudb.h | |
parent | 3a9276bad31810a87133dd003bbe345602627ecc (diff) | |
download | mariadb-git-1144acbcbdf9b7bdf18c31f88cbe859d99658b53.tar.gz |
tokudb: create and destroy TOKUDB_SHARE::_open_tables_mutex dynamically
to guarantee that it's destroyed when plugin deinit is called, not after
Diffstat (limited to 'storage/tokudb/ha_tokudb.h')
-rw-r--r-- | storage/tokudb/ha_tokudb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/tokudb/ha_tokudb.h b/storage/tokudb/ha_tokudb.h index 6f592617b76..e322c3de18e 100644 --- a/storage/tokudb/ha_tokudb.h +++ b/storage/tokudb/ha_tokudb.h @@ -274,7 +274,7 @@ public: private: static std::unordered_map<std::string, TOKUDB_SHARE*> _open_tables; - static tokudb::thread::mutex_t _open_tables_mutex; + static tokudb::thread::mutex_t* _open_tables_mutex; //********************************* // Spans open-close-open |