Commit 62d8cb7f authored by Bradley C. Kuszmaul's avatar Bradley C. Kuszmaul

Add verify

git-svn-id: file:///svn/tokudb@458 c7de825b-a66e-492c-adef-691d508d4ae1
parent 5f5d3988
CFLAGS = -Wall -W -O2 -Werror -g
MYSQL_H = -I../../mysql-5.0.27/mysql-5.0.27/bdb/build_unix/
runs: runs_mysql runs_installed
hs: db.h_4_3 db.h_4_1
# the mysql versions use the header in the mysql distribution.
runs_mysql: ./sample_offsets_mysql
./sample_offsets_mysql
......
......@@ -147,7 +147,8 @@ struct __toku_db {
int (*set_flags) (DB *, u_int32_t); /* 32-bit offset=380 size=4, 64=bit offset=664 size=8 */
void* __toku_dummy6[3];
int (*stat) (DB *, void *, u_int32_t); /* 32-bit offset=396 size=4, 64=bit offset=696 size=8 */
void* __toku_dummy7[3];
void* __toku_dummy7[2];
int (*verify) (DB *, const char *, const char *, FILE *, u_int32_t); /* 32-bit offset=408 size=4, 64=bit offset=720 size=8 */
int (*set_bt_compare) (DB *, int (*)(DB *, const DBT *, const DBT *)); /* 32-bit offset=412 size=4, 64=bit offset=728 size=8 */
void* __toku_dummy8[15]; /* Padding at the end */
char __toku_dummy9[8]; /* Padding at the end */
......
......@@ -150,10 +150,12 @@ struct __toku_db {
int (*set_flags) (DB *, u_int32_t); /* 32-bit offset=424 size=4, 64=bit offset=752 size=8 */
void* __toku_dummy6[6];
int (*stat) (DB *, void *, u_int32_t); /* 32-bit offset=452 size=4, 64=bit offset=808 size=8 */
void* __toku_dummy7[5];
void* __toku_dummy7[3];
int (*verify) (DB *, const char *, const char *, FILE *, u_int32_t); /* 32-bit offset=468 size=4, 64=bit offset=840 size=8 */
void* __toku_dummy8[1];
int (*set_bt_compare) (DB *, int (*)(DB *, const DBT *, const DBT *)); /* 32-bit offset=476 size=4, 64=bit offset=856 size=8 */
void* __toku_dummy8[23]; /* Padding at the end */
char __toku_dummy9[8]; /* Padding at the end */
void* __toku_dummy9[23]; /* Padding at the end */
char __toku_dummy10[8]; /* Padding at the end */
};
struct __toku_db_txn_active {
u_int32_t txnid; /* 32-bit offset=0 size=4, 64=bit offset=0 size=4 */
......@@ -205,6 +207,7 @@ struct __toku_dbt {
int db_env_create(DB_ENV **, u_int32_t);
int db_create(DB **, DB_ENV *, u_int32_t);
char *db_strerror(int);
const char *db_version(int*,int *,int *);
int log_compare (const DB_LSN*, const DB_LSN *);
#if defined(__cplusplus)
}
......
......@@ -147,7 +147,8 @@ struct __toku_db {
int (*set_flags) (DB *, u_int32_t); /* 32-bit offset=380 size=4, 64=bit offset=664 size=8 */
void* __toku_dummy6[3];
int (*stat) (DB *, void *, u_int32_t); /* 32-bit offset=396 size=4, 64=bit offset=696 size=8 */
void* __toku_dummy7[3];
void* __toku_dummy7[2];
int (*verify) (DB *, const char *, const char *, FILE *, u_int32_t); /* 32-bit offset=408 size=4, 64=bit offset=720 size=8 */
int (*set_bt_compare) (DB *, int (*)(DB *, const DBT *, const DBT *)); /* 32-bit offset=412 size=4, 64=bit offset=728 size=8 */
void* __toku_dummy8[15]; /* Padding at the end */
char __toku_dummy9[8]; /* Padding at the end */
......
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