Commit 09894eb3 authored by Yoni Fogel's avatar Yoni Fogel

Added tokudb specific error codes

git-svn-id: file:///svn/tokudb@2943 c7de825b-a66e-492c-adef-691d508d4ae1
parent 6a3cabd6
...@@ -97,6 +97,8 @@ typedef enum { ...@@ -97,6 +97,8 @@ typedef enum {
#define DB_TXN_NOWAIT 2048 #define DB_TXN_NOWAIT 2048
#define DB_TXN_SYNC 4096 #define DB_TXN_SYNC 4096
#endif #endif
/* TOKUDB specific error codes */
#define TOKUDB_OUT_OF_LOCKS -100000
/* in wrap mode, top-level function txn_begin is renamed, but the field isn't renamed, so we have to hack it here.*/ /* 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 #ifdef _TOKUDB_WRAP_H
#undef txn_begin #undef txn_begin
......
...@@ -99,6 +99,8 @@ typedef enum { ...@@ -99,6 +99,8 @@ typedef enum {
#define DB_TXN_NOWAIT 4096 #define DB_TXN_NOWAIT 4096
#define DB_TXN_SYNC 8192 #define DB_TXN_SYNC 8192
#endif #endif
/* TOKUDB specific error codes */
#define TOKUDB_OUT_OF_LOCKS -100000
/* in wrap mode, top-level function txn_begin is renamed, but the field isn't renamed, so we have to hack it here.*/ /* 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 #ifdef _TOKUDB_WRAP_H
#undef txn_begin #undef txn_begin
......
...@@ -99,6 +99,8 @@ typedef enum { ...@@ -99,6 +99,8 @@ typedef enum {
#define DB_TXN_NOWAIT 8192 #define DB_TXN_NOWAIT 8192
#define DB_TXN_SYNC 16384 #define DB_TXN_SYNC 16384
#endif #endif
/* TOKUDB specific error codes */
#define TOKUDB_OUT_OF_LOCKS -100000
/* in wrap mode, top-level function txn_begin is renamed, but the field isn't renamed, so we have to hack it here.*/ /* 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 #ifdef _TOKUDB_WRAP_H
#undef txn_begin #undef txn_begin
......
...@@ -99,6 +99,8 @@ typedef enum { ...@@ -99,6 +99,8 @@ typedef enum {
#define DB_TXN_NOWAIT 16384 #define DB_TXN_NOWAIT 16384
#define DB_TXN_SYNC 32768 #define DB_TXN_SYNC 32768
#endif #endif
/* TOKUDB specific error codes */
#define TOKUDB_OUT_OF_LOCKS -100000
/* in wrap mode, top-level function txn_begin is renamed, but the field isn't renamed, so we have to hack it here.*/ /* 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 #ifdef _TOKUDB_WRAP_H
#undef txn_begin #undef txn_begin
......
This diff is collapsed.
...@@ -99,6 +99,8 @@ typedef enum { ...@@ -99,6 +99,8 @@ typedef enum {
#define DB_TXN_NOWAIT 8192 #define DB_TXN_NOWAIT 8192
#define DB_TXN_SYNC 16384 #define DB_TXN_SYNC 16384
#endif #endif
/* TOKUDB specific error codes */
#define TOKUDB_OUT_OF_LOCKS -100000
/* in wrap mode, top-level function txn_begin is renamed, but the field isn't renamed, so we have to hack it here.*/ /* 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 #ifdef _TOKUDB_WRAP_H
#undef txn_begin #undef txn_begin
......
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