mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 23:04:20 +01:00
build with bdb 4.6
git-svn-id: file:///svn/tokudb@1363 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
f71cc3bb2b
commit
8f6e996070
2 changed files with 6 additions and 2 deletions
|
@ -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},
|
||||
|
|
Loading…
Add table
Reference in a new issue