Commit 420b0bbb authored by Bradley C. Kuszmaul's avatar Bradley C. Kuszmaul Committed by Yoni Fogel

Rebuild the db files and run {{{make install}}} to create {{{include/db.h}}}. ...

Rebuild the db files and run {{{make install}}} to create {{{include/db.h}}}.  Fixes #2029 close[t:2029]

git-svn-id: file:///svn/toku/tokudb@14640 c7de825b-a66e-492c-adef-691d508d4ae1
parent 69337b0b
...@@ -63,6 +63,7 @@ typedef enum { ...@@ -63,6 +63,7 @@ typedef enum {
#define DB_PRIVATE 262144 #define DB_PRIVATE 262144
#define DB_RDONLY 16 #define DB_RDONLY 16
#define DB_RECOVER 32 #define DB_RECOVER 32
#define DB_RUNRECOVERY -30982
#define DB_THREAD 64 #define DB_THREAD 64
#define DB_TXN_NOSYNC 256 #define DB_TXN_NOSYNC 256
#define DB_LOCK_DEFAULT 1 #define DB_LOCK_DEFAULT 1
...@@ -80,6 +81,7 @@ typedef enum { ...@@ -80,6 +81,7 @@ typedef enum {
#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
#define DB_CLOSE_DONT_TRIM_LOG 1048576
#define DB_INIT_TXN 32768 #define DB_INIT_TXN 32768
#define DB_USE_ENVIRON 512 #define DB_USE_ENVIRON 512
#define DB_USE_ENVIRON_ROOT 1024 #define DB_USE_ENVIRON_ROOT 1024
...@@ -333,6 +335,7 @@ int db_env_set_func_pwrite (ssize_t (*)(int, const void *, size_t, toku_off_t)) ...@@ -333,6 +335,7 @@ int db_env_set_func_pwrite (ssize_t (*)(int, const void *, size_t, toku_off_t))
int db_env_set_func_write (ssize_t (*)(int, const void *, size_t)) __attribute__((__visibility__("default"))); int db_env_set_func_write (ssize_t (*)(int, const void *, size_t)) __attribute__((__visibility__("default")));
int db_env_set_func_realloc (void *(*)(void*, size_t)) __attribute__((__visibility__("default"))); int db_env_set_func_realloc (void *(*)(void*, size_t)) __attribute__((__visibility__("default")));
void db_env_set_checkpoint_callback (void (*)(void*), void*) __attribute__((__visibility__("default"))); void db_env_set_checkpoint_callback (void (*)(void*), void*) __attribute__((__visibility__("default")));
void db_env_set_checkpoint_callback2 (void (*)(void*), void*) __attribute__((__visibility__("default")));
#if defined(__cplusplus) #if defined(__cplusplus)
} }
#endif #endif
......
...@@ -63,6 +63,7 @@ typedef enum { ...@@ -63,6 +63,7 @@ typedef enum {
#define DB_PRIVATE 1048576 #define DB_PRIVATE 1048576
#define DB_RDONLY 16 #define DB_RDONLY 16
#define DB_RECOVER 32 #define DB_RECOVER 32
#define DB_RUNRECOVERY -30977
#define DB_THREAD 64 #define DB_THREAD 64
#define DB_TXN_NOSYNC 256 #define DB_TXN_NOSYNC 256
#define DB_LOCK_DEFAULT 1 #define DB_LOCK_DEFAULT 1
...@@ -80,6 +81,7 @@ typedef enum { ...@@ -80,6 +81,7 @@ typedef enum {
#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
#define DB_CLOSE_DONT_TRIM_LOG 1048576
#define DB_INIT_TXN 131072 #define DB_INIT_TXN 131072
#define DB_USE_ENVIRON 1024 #define DB_USE_ENVIRON 1024
#define DB_USE_ENVIRON_ROOT 2048 #define DB_USE_ENVIRON_ROOT 2048
...@@ -349,6 +351,7 @@ int db_env_set_func_pwrite (ssize_t (*)(int, const void *, size_t, toku_off_t)) ...@@ -349,6 +351,7 @@ int db_env_set_func_pwrite (ssize_t (*)(int, const void *, size_t, toku_off_t))
int db_env_set_func_write (ssize_t (*)(int, const void *, size_t)) __attribute__((__visibility__("default"))); int db_env_set_func_write (ssize_t (*)(int, const void *, size_t)) __attribute__((__visibility__("default")));
int db_env_set_func_realloc (void *(*)(void*, size_t)) __attribute__((__visibility__("default"))); int db_env_set_func_realloc (void *(*)(void*, size_t)) __attribute__((__visibility__("default")));
void db_env_set_checkpoint_callback (void (*)(void*), void*) __attribute__((__visibility__("default"))); void db_env_set_checkpoint_callback (void (*)(void*), void*) __attribute__((__visibility__("default")));
void db_env_set_checkpoint_callback2 (void (*)(void*), void*) __attribute__((__visibility__("default")));
#if defined(__cplusplus) #if defined(__cplusplus)
} }
#endif #endif
......
...@@ -63,6 +63,7 @@ typedef enum { ...@@ -63,6 +63,7 @@ typedef enum {
#define DB_PRIVATE 1048576 #define DB_PRIVATE 1048576
#define DB_RDONLY 16 #define DB_RDONLY 16
#define DB_RECOVER 32 #define DB_RECOVER 32
#define DB_RUNRECOVERY -30974
#define DB_THREAD 64 #define DB_THREAD 64
#define DB_TXN_NOSYNC 256 #define DB_TXN_NOSYNC 256
#define DB_LOCK_DEFAULT 1 #define DB_LOCK_DEFAULT 1
...@@ -80,6 +81,7 @@ typedef enum { ...@@ -80,6 +81,7 @@ typedef enum {
#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
#define DB_CLOSE_DONT_TRIM_LOG 1048576
#define DB_INIT_TXN 262144 #define DB_INIT_TXN 262144
#define DB_USE_ENVIRON 2048 #define DB_USE_ENVIRON 2048
#define DB_USE_ENVIRON_ROOT 4096 #define DB_USE_ENVIRON_ROOT 4096
...@@ -357,6 +359,7 @@ int db_env_set_func_pwrite (ssize_t (*)(int, const void *, size_t, toku_off_t)) ...@@ -357,6 +359,7 @@ int db_env_set_func_pwrite (ssize_t (*)(int, const void *, size_t, toku_off_t))
int db_env_set_func_write (ssize_t (*)(int, const void *, size_t)) __attribute__((__visibility__("default"))); int db_env_set_func_write (ssize_t (*)(int, const void *, size_t)) __attribute__((__visibility__("default")));
int db_env_set_func_realloc (void *(*)(void*, size_t)) __attribute__((__visibility__("default"))); int db_env_set_func_realloc (void *(*)(void*, size_t)) __attribute__((__visibility__("default")));
void db_env_set_checkpoint_callback (void (*)(void*), void*) __attribute__((__visibility__("default"))); void db_env_set_checkpoint_callback (void (*)(void*), void*) __attribute__((__visibility__("default")));
void db_env_set_checkpoint_callback2 (void (*)(void*), void*) __attribute__((__visibility__("default")));
#if defined(__cplusplus) #if defined(__cplusplus)
} }
#endif #endif
......
...@@ -63,6 +63,7 @@ typedef enum { ...@@ -63,6 +63,7 @@ typedef enum {
#define DB_PRIVATE 2097152 #define DB_PRIVATE 2097152
#define DB_RDONLY 32 #define DB_RDONLY 32
#define DB_RECOVER 64 #define DB_RECOVER 64
#define DB_RUNRECOVERY -30975
#define DB_THREAD 128 #define DB_THREAD 128
#define DB_TXN_NOSYNC 512 #define DB_TXN_NOSYNC 512
#define DB_LOCK_DEFAULT 1 #define DB_LOCK_DEFAULT 1
...@@ -80,6 +81,7 @@ typedef enum { ...@@ -80,6 +81,7 @@ typedef enum {
#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
#define DB_CLOSE_DONT_TRIM_LOG 1048576
#define DB_INIT_TXN 524288 #define DB_INIT_TXN 524288
#define DB_USE_ENVIRON 4096 #define DB_USE_ENVIRON 4096
#define DB_USE_ENVIRON_ROOT 8192 #define DB_USE_ENVIRON_ROOT 8192
...@@ -357,6 +359,7 @@ int db_env_set_func_pwrite (ssize_t (*)(int, const void *, size_t, toku_off_t)) ...@@ -357,6 +359,7 @@ int db_env_set_func_pwrite (ssize_t (*)(int, const void *, size_t, toku_off_t))
int db_env_set_func_write (ssize_t (*)(int, const void *, size_t)) __attribute__((__visibility__("default"))); int db_env_set_func_write (ssize_t (*)(int, const void *, size_t)) __attribute__((__visibility__("default")));
int db_env_set_func_realloc (void *(*)(void*, size_t)) __attribute__((__visibility__("default"))); int db_env_set_func_realloc (void *(*)(void*, size_t)) __attribute__((__visibility__("default")));
void db_env_set_checkpoint_callback (void (*)(void*), void*) __attribute__((__visibility__("default"))); void db_env_set_checkpoint_callback (void (*)(void*), void*) __attribute__((__visibility__("default")));
void db_env_set_checkpoint_callback2 (void (*)(void*), void*) __attribute__((__visibility__("default")));
#if defined(__cplusplus) #if defined(__cplusplus)
} }
#endif #endif
......
...@@ -12,9 +12,9 @@ extern "C" { ...@@ -12,9 +12,9 @@ extern "C" {
#define TOKUDB_NATIVE_H 0 #define TOKUDB_NATIVE_H 0
#define DB_VERSION_MAJOR 4 #define DB_VERSION_MAJOR 4
#define DB_VERSION_MINOR 6 #define DB_VERSION_MINOR 6
#define DB_VERSION_PATCH 21 #define DB_VERSION_PATCH 19
#ifndef _TOKUDB_WRAP_H #ifndef _TOKUDB_WRAP_H
#define DB_VERSION_STRING "Tokutek: TokuDB 4.6.21" #define DB_VERSION_STRING "Tokutek: TokuDB 4.6.19"
#else #else
#define DB_VERSION_STRING_ydb "Tokutek: TokuDB (wrapped bdb)" #define DB_VERSION_STRING_ydb "Tokutek: TokuDB (wrapped bdb)"
#endif #endif
......
...@@ -63,6 +63,7 @@ typedef enum { ...@@ -63,6 +63,7 @@ typedef enum {
#define DB_PRIVATE 8388608 #define DB_PRIVATE 8388608
#define DB_RDONLY 32 #define DB_RDONLY 32
#define DB_RECOVER 64 #define DB_RECOVER 64
#define DB_RUNRECOVERY -30975
#define DB_THREAD 128 #define DB_THREAD 128
#define DB_TXN_NOSYNC 512 #define DB_TXN_NOSYNC 512
#define DB_LOCK_DEFAULT 1 #define DB_LOCK_DEFAULT 1
...@@ -80,6 +81,7 @@ typedef enum { ...@@ -80,6 +81,7 @@ typedef enum {
#define DB_INIT_LOCK 131072 #define DB_INIT_LOCK 131072
#define DB_INIT_LOG 262144 #define DB_INIT_LOG 262144
#define DB_INIT_MPOOL 524288 #define DB_INIT_MPOOL 524288
#define DB_CLOSE_DONT_TRIM_LOG 1048576
#define DB_INIT_TXN 2097152 #define DB_INIT_TXN 2097152
#define DB_USE_ENVIRON 16384 #define DB_USE_ENVIRON 16384
#define DB_USE_ENVIRON_ROOT 32768 #define DB_USE_ENVIRON_ROOT 32768
...@@ -292,6 +294,7 @@ int db_env_set_func_pwrite (ssize_t (*)(int, const void *, size_t, toku_off_t)) ...@@ -292,6 +294,7 @@ int db_env_set_func_pwrite (ssize_t (*)(int, const void *, size_t, toku_off_t))
int db_env_set_func_write (ssize_t (*)(int, const void *, size_t)) __attribute__((__visibility__("default"))); int db_env_set_func_write (ssize_t (*)(int, const void *, size_t)) __attribute__((__visibility__("default")));
int db_env_set_func_realloc (void *(*)(void*, size_t)) __attribute__((__visibility__("default"))); int db_env_set_func_realloc (void *(*)(void*, size_t)) __attribute__((__visibility__("default")));
void db_env_set_checkpoint_callback (void (*)(void*), void*) __attribute__((__visibility__("default"))); void db_env_set_checkpoint_callback (void (*)(void*), void*) __attribute__((__visibility__("default")));
void db_env_set_checkpoint_callback2 (void (*)(void*), void*) __attribute__((__visibility__("default")));
#if defined(__cplusplus) #if defined(__cplusplus)
} }
#endif #endif
......
This diff is collapsed.
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