mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 13:32:33 +01:00
[t:2044], clean it up
git-svn-id: file:///svn/mysql/tokudb-engine/src@14778 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
18148cac75
commit
ea8835021f
1 changed files with 0 additions and 8 deletions
|
@ -34,19 +34,11 @@ extern "C" {
|
|||
#define TOKU_METADB_NAME ".\\tokudb_meta.tokudb"
|
||||
|
||||
static inline void *thd_data_get(THD *thd, int slot) {
|
||||
#if MYSQL_VERSION_ID <= 50123
|
||||
return thd->ha_data[slot];
|
||||
#else
|
||||
return thd->ha_data[slot].ha_ptr;
|
||||
#endif
|
||||
}
|
||||
|
||||
static inline void thd_data_set(THD *thd, int slot, void *data) {
|
||||
#if MYSQL_VERSION_ID <= 50123
|
||||
thd->ha_data[slot] = data;
|
||||
#else
|
||||
thd->ha_data[slot].ha_ptr = data;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue