Commit 32a7730c authored by Rich Prohaska's avatar Rich Prohaska

get working with multiple BDB releases. addresses #133

git-svn-id: file:///svn/tokudb@1078 c7de825b-a66e-492c-adef-691d508d4ae1
parent 8ca4479c
...@@ -67,6 +67,7 @@ typedef enum { ...@@ -67,6 +67,7 @@ typedef enum {
#define DB_NOTFOUND -30989 #define DB_NOTFOUND -30989
#define DB_SECONDARY_BAD -30976 #define DB_SECONDARY_BAD -30976
#define DB_DONOTINDEX -30998 #define DB_DONOTINDEX -30998
#define DB_BUFFER_SMALL -30999
#define DB_BADFORMAT -30500 #define DB_BADFORMAT -30500
#define DB_DELETE_ANY 65536 #define DB_DELETE_ANY 65536
#define DB_FIRST 9 #define DB_FIRST 9
......
...@@ -67,6 +67,7 @@ typedef enum { ...@@ -67,6 +67,7 @@ typedef enum {
#define DB_NOTFOUND -30989 #define DB_NOTFOUND -30989
#define DB_SECONDARY_BAD -30974 #define DB_SECONDARY_BAD -30974
#define DB_DONOTINDEX -30998 #define DB_DONOTINDEX -30998
#define DB_BUFFER_SMALL -30999
#define DB_BADFORMAT -30500 #define DB_BADFORMAT -30500
#define DB_DELETE_ANY 65536 #define DB_DELETE_ANY 65536
#define DB_FIRST 7 #define DB_FIRST 7
......
...@@ -67,6 +67,7 @@ typedef enum { ...@@ -67,6 +67,7 @@ typedef enum {
#define DB_NOTFOUND -30989 #define DB_NOTFOUND -30989
#define DB_SECONDARY_BAD -30974 #define DB_SECONDARY_BAD -30974
#define DB_DONOTINDEX -30998 #define DB_DONOTINDEX -30998
#define DB_BUFFER_SMALL -30999
#define DB_BADFORMAT -30500 #define DB_BADFORMAT -30500
#define DB_DELETE_ANY 65536 #define DB_DELETE_ANY 65536
#define DB_FIRST 7 #define DB_FIRST 7
......
...@@ -73,8 +73,9 @@ void print_defines (void) { ...@@ -73,8 +73,9 @@ void print_defines (void) {
dodefine(DB_NOTFOUND); dodefine(DB_NOTFOUND);
dodefine(DB_SECONDARY_BAD); dodefine(DB_SECONDARY_BAD);
dodefine(DB_DONOTINDEX); dodefine(DB_DONOTINDEX);
#ifdef DB_BUFFER_SMALL
dodefine(DB_BUFFER_SMALL); dodefine(DB_BUFFER_SMALL);
#endif
printf("#define DB_BADFORMAT -30500\n"); // private tokudb printf("#define DB_BADFORMAT -30500\n"); // private tokudb
printf("#define DB_DELETE_ANY %d\n", 1<<16); // private tokudb printf("#define DB_DELETE_ANY %d\n", 1<<16); // private tokudb
......
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