mirror of
https://github.com/MariaDB/server.git
synced 2025-02-02 12:01:42 +01:00
aab4d54f85
git-svn-id: file:///svn/tokudb@705 c7de825b-a66e-492c-adef-691d508d4ae1
29 lines
1.2 KiB
C
29 lines
1.2 KiB
C
#ifndef TOKULOGGGER_H
|
|
#define TOKULOGGGER_H
|
|
#include "../include/db.h"
|
|
#include "brttypes.h"
|
|
#include "kv-pair.h"
|
|
int tokulogger_create_and_open_logger (const char *directory, TOKULOGGER *resultp);
|
|
int tokulogger_log_bytes(TOKULOGGER logger, int nbytes, void *bytes);
|
|
int tokulogger_log_close(TOKULOGGER *logger);
|
|
int tokulogger_log_checkpoint (TOKULOGGER, LSN*);
|
|
|
|
int tokulogger_log_phys_add_or_delete_in_leaf (DB *db, TOKUTXN txn, DISKOFF diskoff, int is_add, const struct kv_pair *pair);
|
|
|
|
int tokulogger_log_commit (TOKUTXN txn);
|
|
|
|
int tokulogger_log_block_rename (TOKULOGGER /*logger*/, FILENUM /*fileid*/, DISKOFF /*olddiskoff*/, DISKOFF /*newdiskoff*/, DISKOFF /*parentdiskoff*/, int /*childnum*/);
|
|
|
|
int tokutxn_begin (TOKUTXN /*parent*/,TOKUTXN *, TXNID /*txnid64*/, TOKULOGGER /*logger*/);
|
|
|
|
int tokulogger_log_fcreate (TOKUTXN, const char */*fname*/, int /*mode*/);
|
|
|
|
int tokulogger_log_fopen (TOKUTXN, const char * /*fname*/, FILENUM);
|
|
|
|
int tokulogger_log_unlink (TOKUTXN, const char */*fname*/);
|
|
|
|
int tokulogger_log_header (TOKUTXN, FILENUM, struct brt_header *);
|
|
|
|
int tokulogger_log_newbrtnode (TOKUTXN txn, FILENUM filenum, DISKOFF offset, u_int32_t height, u_int32_t nodesize, char is_dup_sort_mode, u_int32_t rand4fingerprint);
|
|
|
|
#endif
|