Commit 40bdcc0d authored by Yoni Fogel's avatar Yoni Fogel

Added DB_AUTO_COMMIT to header

git-svn-id: file:///svn/tokudb@2251 c7de825b-a66e-492c-adef-691d508d4ae1
parent baa75eb9
...@@ -62,6 +62,7 @@ typedef enum { ...@@ -62,6 +62,7 @@ typedef enum {
#define DB_NOOVERWRITE 23 #define DB_NOOVERWRITE 23
#define DB_YESOVERWRITE 254 #define DB_YESOVERWRITE 254
#define DB_OPFLAGS_MASK 255 #define DB_OPFLAGS_MASK 255
#define DB_AUTO_COMMIT 8388608
#define DB_INIT_LOCK 4096 #define DB_INIT_LOCK 4096
#define DB_INIT_LOG 8192 #define DB_INIT_LOG 8192
#define DB_INIT_MPOOL 16384 #define DB_INIT_MPOOL 16384
......
...@@ -62,6 +62,7 @@ typedef enum { ...@@ -62,6 +62,7 @@ typedef enum {
#define DB_NOOVERWRITE 22 #define DB_NOOVERWRITE 22
#define DB_YESOVERWRITE 254 #define DB_YESOVERWRITE 254
#define DB_OPFLAGS_MASK 255 #define DB_OPFLAGS_MASK 255
#define DB_AUTO_COMMIT 16777216
#define DB_INIT_LOCK 8192 #define DB_INIT_LOCK 8192
#define DB_INIT_LOG 16384 #define DB_INIT_LOG 16384
#define DB_INIT_MPOOL 32768 #define DB_INIT_MPOOL 32768
......
...@@ -62,6 +62,7 @@ typedef enum { ...@@ -62,6 +62,7 @@ typedef enum {
#define DB_NOOVERWRITE 22 #define DB_NOOVERWRITE 22
#define DB_YESOVERWRITE 254 #define DB_YESOVERWRITE 254
#define DB_OPFLAGS_MASK 255 #define DB_OPFLAGS_MASK 255
#define DB_AUTO_COMMIT 16777216
#define DB_INIT_LOCK 16384 #define DB_INIT_LOCK 16384
#define DB_INIT_LOG 32768 #define DB_INIT_LOG 32768
#define DB_INIT_MPOOL 65536 #define DB_INIT_MPOOL 65536
......
...@@ -62,6 +62,7 @@ typedef enum { ...@@ -62,6 +62,7 @@ typedef enum {
#define DB_NOOVERWRITE 20 #define DB_NOOVERWRITE 20
#define DB_YESOVERWRITE 254 #define DB_YESOVERWRITE 254
#define DB_OPFLAGS_MASK 255 #define DB_OPFLAGS_MASK 255
#define DB_AUTO_COMMIT 33554432
#define DB_INIT_LOCK 32768 #define DB_INIT_LOCK 32768
#define DB_INIT_LOG 65536 #define DB_INIT_LOG 65536
#define DB_INIT_MPOOL 131072 #define DB_INIT_MPOOL 131072
......
...@@ -66,6 +66,8 @@ void print_defines (void) { ...@@ -66,6 +66,8 @@ void print_defines (void) {
printf("#define DB_YESOVERWRITE 254\n"); // tokudb printf("#define DB_YESOVERWRITE 254\n"); // tokudb
dodefine(DB_OPFLAGS_MASK); dodefine(DB_OPFLAGS_MASK);
dodefine(DB_AUTO_COMMIT);
dodefine(DB_INIT_LOCK); dodefine(DB_INIT_LOCK);
dodefine(DB_INIT_LOG); dodefine(DB_INIT_LOG);
dodefine(DB_INIT_MPOOL); dodefine(DB_INIT_MPOOL);
......
...@@ -62,6 +62,7 @@ typedef enum { ...@@ -62,6 +62,7 @@ typedef enum {
#define DB_NOOVERWRITE 22 #define DB_NOOVERWRITE 22
#define DB_YESOVERWRITE 254 #define DB_YESOVERWRITE 254
#define DB_OPFLAGS_MASK 255 #define DB_OPFLAGS_MASK 255
#define DB_AUTO_COMMIT 16777216
#define DB_INIT_LOCK 16384 #define DB_INIT_LOCK 16384
#define DB_INIT_LOG 32768 #define DB_INIT_LOG 32768
#define DB_INIT_MPOOL 65536 #define DB_INIT_MPOOL 65536
......
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