2013-04-17 00:01:46 -04:00
|
|
|
#ifndef _HATOKU_HTON
|
|
|
|
#define _HATOKU_HTON
|
|
|
|
|
|
|
|
#include "db.h"
|
|
|
|
|
|
|
|
|
|
|
|
extern handlerton *tokudb_hton;
|
|
|
|
|
|
|
|
extern DB_ENV *db_env;
|
2013-04-17 00:01:53 -04:00
|
|
|
extern DB *metadata_db;
|
2013-04-17 00:01:46 -04:00
|
|
|
|
|
|
|
// thread variables
|
2013-04-17 00:01:59 -04:00
|
|
|
uint get_pk_insert_mode(THD* thd);
|
2013-04-17 00:02:00 -04:00
|
|
|
bool get_load_save_space(THD* thd);
|
2013-04-17 00:02:04 -04:00
|
|
|
bool get_disable_slow_alter(THD* thd);
|
2013-04-17 00:02:03 -04:00
|
|
|
bool get_create_index_online(THD* thd);
|
2013-04-17 00:02:07 -04:00
|
|
|
bool get_disable_prefetching(THD* thd);
|
2013-04-17 00:02:00 -04:00
|
|
|
bool get_prelock_empty(THD* thd);
|
2013-04-17 00:02:04 -04:00
|
|
|
uint get_tokudb_block_size(THD* thd);
|
2013-04-17 00:02:06 -04:00
|
|
|
uint get_tokudb_read_block_size(THD* thd);
|
2013-04-17 00:02:06 -04:00
|
|
|
uint get_tokudb_read_buf_size(THD* thd);
|
2013-04-17 00:01:46 -04:00
|
|
|
|
|
|
|
extern HASH tokudb_open_tables;
|
|
|
|
extern pthread_mutex_t tokudb_mutex;
|
2013-04-17 00:01:53 -04:00
|
|
|
extern pthread_mutex_t tokudb_meta_mutex;
|
2013-04-17 00:01:54 -04:00
|
|
|
extern u_int32_t tokudb_write_status_frequency;
|
|
|
|
extern u_int32_t tokudb_read_status_frequency;
|
2013-04-17 00:01:46 -04:00
|
|
|
#endif //#ifdef _HATOKU_HTON
|