mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 14:54:20 +01:00
add DB_TXN_NOWAIT to fix builds
git-svn-id: file:///svn/tokudb@1796 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
989bdd3f7e
commit
c319506339
6 changed files with 12 additions and 0 deletions
|
@ -92,6 +92,8 @@ typedef enum {
|
|||
#define DB_RMW 1073741824
|
||||
#define DB_DBT_APPMALLOC 1
|
||||
#define DB_TXN_WRITE_NOSYNC 524288
|
||||
#define DB_TXN_NOWAIT 2048
|
||||
#define DB_TXN_SYNC 4096
|
||||
#endif
|
||||
/* in wrap mode, top-level function txn_begin is renamed, but the field isn't renamed, so we have to hack it here.*/
|
||||
#ifdef _TOKUDB_WRAP_H
|
||||
|
|
|
@ -94,6 +94,8 @@ typedef enum {
|
|||
#define DB_DBT_APPMALLOC 1
|
||||
#define DB_LOG_AUTOREMOVE 65536
|
||||
#define DB_TXN_WRITE_NOSYNC 268435456
|
||||
#define DB_TXN_NOWAIT 4096
|
||||
#define DB_TXN_SYNC 8192
|
||||
#endif
|
||||
/* in wrap mode, top-level function txn_begin is renamed, but the field isn't renamed, so we have to hack it here.*/
|
||||
#ifdef _TOKUDB_WRAP_H
|
||||
|
|
|
@ -94,6 +94,8 @@ typedef enum {
|
|||
#define DB_DBT_APPMALLOC 1
|
||||
#define DB_LOG_AUTOREMOVE 262144
|
||||
#define DB_TXN_WRITE_NOSYNC 1024
|
||||
#define DB_TXN_NOWAIT 8192
|
||||
#define DB_TXN_SYNC 16384
|
||||
#endif
|
||||
/* in wrap mode, top-level function txn_begin is renamed, but the field isn't renamed, so we have to hack it here.*/
|
||||
#ifdef _TOKUDB_WRAP_H
|
||||
|
|
|
@ -94,6 +94,8 @@ typedef enum {
|
|||
#define DB_DBT_APPMALLOC 1
|
||||
#define DB_LOG_AUTOREMOVE 524288
|
||||
#define DB_TXN_WRITE_NOSYNC 2048
|
||||
#define DB_TXN_NOWAIT 16384
|
||||
#define DB_TXN_SYNC 32768
|
||||
#endif
|
||||
/* in wrap mode, top-level function txn_begin is renamed, but the field isn't renamed, so we have to hack it here.*/
|
||||
#ifdef _TOKUDB_WRAP_H
|
||||
|
|
|
@ -96,6 +96,8 @@ typedef enum {
|
|||
#define DB_DBT_MULTIPLE 16
|
||||
#define DB_LOG_AUTOREMOVE 524288
|
||||
#define DB_TXN_WRITE_NOSYNC 4096
|
||||
#define DB_TXN_NOWAIT 1024
|
||||
#define DB_TXN_SYNC 16384
|
||||
#endif
|
||||
/* in wrap mode, top-level function txn_begin is renamed, but the field isn't renamed, so we have to hack it here.*/
|
||||
#ifdef _TOKUDB_WRAP_H
|
||||
|
|
|
@ -113,6 +113,8 @@ void print_defines (void) {
|
|||
dodefine(DB_LOG_AUTOREMOVE);
|
||||
#endif
|
||||
dodefine(DB_TXN_WRITE_NOSYNC);
|
||||
dodefine(DB_TXN_NOWAIT);
|
||||
dodefine(DB_TXN_SYNC);
|
||||
|
||||
printf("#endif\n");
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue