mirror of
https://github.com/MariaDB/server.git
synced 2025-01-20 22:12:30 +01:00
10bc6f429e
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@26782 c7de825b-a66e-492c-adef-691d508d4ae1
27 lines
675 B
C
27 lines
675 B
C
#ifndef _HATOKU_HTON
|
|
#define _HATOKU_HTON
|
|
|
|
#include "db.h"
|
|
|
|
|
|
extern handlerton *tokudb_hton;
|
|
|
|
extern DB_ENV *db_env;
|
|
extern DB *metadata_db;
|
|
|
|
|
|
// thread variables
|
|
ulonglong get_write_lock_wait_time (THD* thd);
|
|
ulonglong get_read_lock_wait_time (THD* thd);
|
|
uint get_pk_insert_mode(THD* thd);
|
|
bool get_load_save_space(THD* thd);
|
|
bool get_create_index_online(THD* thd);
|
|
bool get_prelock_empty(THD* thd);
|
|
uint get_tokudb_block_size(THD* thd);
|
|
|
|
extern HASH tokudb_open_tables;
|
|
extern pthread_mutex_t tokudb_mutex;
|
|
extern pthread_mutex_t tokudb_meta_mutex;
|
|
extern u_int32_t tokudb_write_status_frequency;
|
|
extern u_int32_t tokudb_read_status_frequency;
|
|
#endif //#ifdef _HATOKU_HTON
|