Commit 8f6e9960 authored by Rich Prohaska's avatar Rich Prohaska

build with bdb 4.6

git-svn-id: file:///svn/tokudb@1363 c7de825b-a66e-492c-adef-691d508d4ae1
parent f71cc3bb
......@@ -213,8 +213,9 @@ struct __toku_db_txn_active {
char __toku_dummy2[200]; /* Padding at the end */
};
struct __toku_db_txn {
DB_ENV *mgrp /*In TokuDB, mgrp is a DB_ENV not a DB_TXNMGR*/; /* 32-bit offset=0 size=4, 64=bit offset=0 size=8 */
struct __toku_db_txn_internal *i;
void* __toku_dummy0[19];
void* __toku_dummy0[18];
char __toku_dummy1[8];
void *api_internal; /* 32-bit offset=88 size=4, 64=bit offset=168 size=8 */
void* __toku_dummy2[2];
......@@ -235,8 +236,9 @@ struct __toku_db_txn_stat {
char __toku_dummy5[8]; /* Padding at the end */
};
struct __toku_dbc {
DB *dbp; /* 32-bit offset=0 size=4, 64=bit offset=0 size=8 */
struct __toku_dbc_internal *i;
void* __toku_dummy0[34];
void* __toku_dummy0[33];
char __toku_dummy1[104];
int (*c_close) (DBC *); /* 32-bit offset=244 size=4, 64=bit offset=384 size=8 */
void* __toku_dummy2[1];
......
......@@ -75,6 +75,7 @@ struct fieldinfo db_txn_active_fields64[] = {
{0, 232, 232} /* size of whole struct */
};
struct fieldinfo db_txn_fields64[] = {
{"DB_ENV *mgrp /*In TokuDB, mgrp is a DB_ENV not a DB_TXNMGR*/", 0, 8},
{"void *api_internal", 168, 8},
{"int (*abort) (DB_TXN *)", 192, 8},
{"int (*commit) (DB_TXN*, u_int32_t)", 200, 8},
......@@ -87,6 +88,7 @@ struct fieldinfo db_txn_stat_fields64[] = {
{0, 88, 88} /* size of whole struct */
};
struct fieldinfo dbc_fields64[] = {
{"DB *dbp", 0, 8},
{"int (*c_close) (DBC *)", 384, 8},
{"int (*c_del) (DBC *, u_int32_t)", 400, 8},
{"int (*c_get) (DBC *, DBT *, DBT *, u_int32_t)", 416, 8},
......
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