Commit 33f0e871 authored by Bradley C. Kuszmaul's avatar Bradley C. Kuszmaul Committed by Yoni Fogel

Get rid of {{{DB_PREV_DUP}}} from the 4.6 version of {{{db.h}}}. Addresses #1412.

git-svn-id: file:///svn/toku/tokudb@9109 c7de825b-a66e-492c-adef-691d508d4ae1
parent d7f2dcc0
...@@ -89,7 +89,6 @@ typedef enum { ...@@ -89,7 +89,6 @@ typedef enum {
#define DB_NEXT_DUP 17 #define DB_NEXT_DUP 17
#define DB_NEXT_NODUP 18 #define DB_NEXT_NODUP 18
#define DB_PREV 23 #define DB_PREV 23
#define DB_PREV_DUP 24
#define DB_PREV_NODUP 25 #define DB_PREV_NODUP 25
#define DB_SET 26 #define DB_SET 26
#define DB_SET_RANGE 27 #define DB_SET_RANGE 27
......
...@@ -106,7 +106,8 @@ void print_defines (void) { ...@@ -106,7 +106,8 @@ void print_defines (void) {
dodefine(DB_NEXT_DUP); dodefine(DB_NEXT_DUP);
dodefine(DB_NEXT_NODUP); dodefine(DB_NEXT_NODUP);
dodefine(DB_PREV); dodefine(DB_PREV);
#ifdef DB_PREV_DUP #if 0 && defined(DB_PREV_DUP)
// DB_PREV_DUP isn't working in tdb, so don't use it.
dodefine(DB_PREV_DUP); dodefine(DB_PREV_DUP);
#endif #endif
dodefine(DB_PREV_NODUP); dodefine(DB_PREV_NODUP);
......
...@@ -89,7 +89,6 @@ typedef enum { ...@@ -89,7 +89,6 @@ typedef enum {
#define DB_NEXT_DUP 17 #define DB_NEXT_DUP 17
#define DB_NEXT_NODUP 18 #define DB_NEXT_NODUP 18
#define DB_PREV 23 #define DB_PREV 23
#define DB_PREV_DUP 24
#define DB_PREV_NODUP 25 #define DB_PREV_NODUP 25
#define DB_SET 26 #define DB_SET 26
#define DB_SET_RANGE 27 #define DB_SET_RANGE 27
......
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