Commit c3195063 authored by Rich Prohaska's avatar Rich Prohaska

add DB_TXN_NOWAIT to fix builds

git-svn-id: file:///svn/tokudb@1796 c7de825b-a66e-492c-adef-691d508d4ae1
parent 989bdd3f
......@@ -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");
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment