Commit 3c948cde authored by Rich Prohaska's avatar Rich Prohaska

update the db.h for 4.4.20. addresses #49

git-svn-id: file:///svn/tokudb@771 c7de825b-a66e-492c-adef-691d508d4ae1
parent 8ff534e1
...@@ -70,7 +70,7 @@ check32: sample_offsets_local ...@@ -70,7 +70,7 @@ check32: sample_offsets_local
diff sample_offsets_local.h sample_offsets_32.h diff sample_offsets_local.h sample_offsets_32.h
clean: clean:
rm sample_offsets_mysql sample_offsets rm -f sample_offsets_mysql sample_offsets sample_offsets_?_? *.o make_db_h_?_?
install: db.h_$(BDB) install: db.h_$(BDB)
cp db.h_$(BDB) ../include/db.h cp db.h_$(BDB) ../include/db.h
......
...@@ -40,6 +40,7 @@ typedef enum { ...@@ -40,6 +40,7 @@ typedef enum {
#define DB_ARCH_ABS 1 #define DB_ARCH_ABS 1
#define DB_ARCH_LOG 4 #define DB_ARCH_LOG 4
#define DB_CREATE 1 #define DB_CREATE 1
#define DB_EXCL 4096
#define DB_PRIVATE 1048576 #define DB_PRIVATE 1048576
#define DB_RDONLY 16 #define DB_RDONLY 16
#define DB_RECOVER 32 #define DB_RECOVER 32
...@@ -55,6 +56,8 @@ typedef enum { ...@@ -55,6 +56,8 @@ typedef enum {
#define DB_INIT_LOG 16384 #define DB_INIT_LOG 16384
#define DB_INIT_MPOOL 32768 #define DB_INIT_MPOOL 32768
#define DB_INIT_TXN 131072 #define DB_INIT_TXN 131072
#define DB_USE_ENVIRON 1024
#define DB_USE_ENVIRON_ROOT 2048
#define DB_KEYEMPTY -30997 #define DB_KEYEMPTY -30997
#define DB_KEYEXIST -30996 #define DB_KEYEXIST -30996
#define DB_LOCK_DEADLOCK -30995 #define DB_LOCK_DEADLOCK -30995
......
...@@ -40,6 +40,7 @@ typedef enum { ...@@ -40,6 +40,7 @@ typedef enum {
#define DB_ARCH_ABS 1 #define DB_ARCH_ABS 1
#define DB_ARCH_LOG 4 #define DB_ARCH_LOG 4
#define DB_CREATE 1 #define DB_CREATE 1
#define DB_EXCL 8192
#define DB_PRIVATE 1048576 #define DB_PRIVATE 1048576
#define DB_RDONLY 16 #define DB_RDONLY 16
#define DB_RECOVER 32 #define DB_RECOVER 32
...@@ -55,6 +56,8 @@ typedef enum { ...@@ -55,6 +56,8 @@ typedef enum {
#define DB_INIT_LOG 32768 #define DB_INIT_LOG 32768
#define DB_INIT_MPOOL 65536 #define DB_INIT_MPOOL 65536
#define DB_INIT_TXN 262144 #define DB_INIT_TXN 262144
#define DB_USE_ENVIRON 2048
#define DB_USE_ENVIRON_ROOT 4096
#define DB_KEYEMPTY -30997 #define DB_KEYEMPTY -30997
#define DB_KEYEXIST -30996 #define DB_KEYEXIST -30996
#define DB_LOCK_DEADLOCK -30995 #define DB_LOCK_DEADLOCK -30995
......
...@@ -40,6 +40,7 @@ typedef enum { ...@@ -40,6 +40,7 @@ typedef enum {
#define DB_ARCH_ABS 1 #define DB_ARCH_ABS 1
#define DB_ARCH_LOG 4 #define DB_ARCH_LOG 4
#define DB_CREATE 1 #define DB_CREATE 1
#define DB_EXCL 16384
#define DB_PRIVATE 8388608 #define DB_PRIVATE 8388608
#define DB_RDONLY 32 #define DB_RDONLY 32
#define DB_RECOVER 64 #define DB_RECOVER 64
...@@ -55,6 +56,8 @@ typedef enum { ...@@ -55,6 +56,8 @@ typedef enum {
#define DB_INIT_LOG 262144 #define DB_INIT_LOG 262144
#define DB_INIT_MPOOL 524288 #define DB_INIT_MPOOL 524288
#define DB_INIT_TXN 2097152 #define DB_INIT_TXN 2097152
#define DB_USE_ENVIRON 16384
#define DB_USE_ENVIRON_ROOT 32768
#define DB_KEYEMPTY -30997 #define DB_KEYEMPTY -30997
#define DB_KEYEXIST -30996 #define DB_KEYEXIST -30996
#define DB_LOCK_DEADLOCK -30995 #define DB_LOCK_DEADLOCK -30995
......
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