23 #ifndef _DOUBLE_WRITE_BUFFER_H_ 24 #define _DOUBLE_WRITE_BUFFER_H_ 55 #if defined (SERVER_MODE) 56 extern void dwb_daemons_init ();
57 extern void dwb_daemons_destroy ();
bool dwb_is_created(void)
int dwb_flush_force(THREAD_ENTRY *thread_p, bool *all_sync)
int dwb_create(THREAD_ENTRY *thread_p, const char *dwb_path_p, const char *db_name_p)
int dwb_recreate(THREAD_ENTRY *thread_p)
char * dwb_get_volume_name(void)
int dwb_destroy(THREAD_ENTRY *thread_p)
int dwb_load_and_recover_pages(THREAD_ENTRY *thread_p, const char *dwb_path_p, const char *db_name_p)
int dwb_add_page(THREAD_ENTRY *thread_p, FILEIO_PAGE *io_page_p, VPID *vpid, DWB_SLOT **p_dwb_slot)
unsigned int position_in_block
int dwb_read_page(THREAD_ENTRY *thread_p, const VPID *vpid, void *io_page, bool *success)
int dwb_set_data_on_next_slot(THREAD_ENTRY *thread_p, FILEIO_PAGE *io_page_p, bool can_wait, DWB_SLOT **p_dwb_slot)