Commit 512b7013 authored by Bradley C. Kuszmaul's avatar Bradley C. Kuszmaul

Add mgrp to dbtxn. Addresses #215.

git-svn-id: file:///svn/tokudb@1317 c7de825b-a66e-492c-adef-691d508d4ae1
parent 6198e6f5
......@@ -153,10 +153,11 @@ void sample_db_txn_active_offsets (void) {
void sample_db_txn_offsets (void) {
field_counter=0;
STRUCT_SETUP(DB_TXN, abort, "int (*%s) (DB_TXN *)");
STRUCT_SETUP(DB_TXN, api_internal,"void *%s");
STRUCT_SETUP(DB_TXN, commit, "int (*%s) (DB_TXN*, u_int32_t)");
STRUCT_SETUP(DB_TXN, id, "u_int32_t (*%s) (DB_TXN *)");
STRUCT_SETUP(DB_TXN, abort, "int (*%s) (DB_TXN *)");
STRUCT_SETUP(DB_TXN, mgrp, "DB_ENV *%s /*In TokuDB, mgrp is a DB_ENV not a DB_TXNMGR*/");
sort_and_dump_fields("db_txn", sizeof(DB_TXN));
}
......
......@@ -72,6 +72,7 @@ struct fieldinfo db_txn_active_fields32[] = {
{0, 16, 16} /* size of whole struct */
};
struct fieldinfo db_txn_fields32[] = {
{"DB_ENV *mgrp /*In TokuDB, mgrp is a DB_ENV not a DB_TXNMGR*/", 0, 4},
{"void *api_internal", 68, 4},
{"int (*abort) (DB_TXN *)", 76, 4},
{"int (*commit) (DB_TXN*, u_int32_t)", 80, 4},
......
......@@ -76,6 +76,7 @@ struct fieldinfo db_txn_active_fields32[] = {
{0, 148, 148} /* size of whole struct */
};
struct fieldinfo db_txn_fields32[] = {
{"DB_ENV *mgrp /*In TokuDB, mgrp is a DB_ENV not a DB_TXNMGR*/", 0, 4},
{"void *api_internal", 88, 4},
{"int (*abort) (DB_TXN *)", 100, 4},
{"int (*commit) (DB_TXN*, u_int32_t)", 104, 4},
......
......@@ -76,6 +76,7 @@ struct fieldinfo db_txn_active_fields32[] = {
{0, 208, 208} /* size of whole struct */
};
struct fieldinfo db_txn_fields32[] = {
{"DB_ENV *mgrp /*In TokuDB, mgrp is a DB_ENV not a DB_TXNMGR*/", 0, 4},
{"void *api_internal", 84, 4},
{"int (*abort) (DB_TXN *)", 96, 4},
{"int (*commit) (DB_TXN*, u_int32_t)", 100, 4},
......
......@@ -75,6 +75,7 @@ struct fieldinfo db_txn_active_fields32[] = {
{0, 224, 224} /* size of whole struct */
};
struct fieldinfo db_txn_fields32[] = {
{"DB_ENV *mgrp /*In TokuDB, mgrp is a DB_ENV not a DB_TXNMGR*/", 0, 4},
{"void *api_internal", 84, 4},
{"int (*abort) (DB_TXN *)", 96, 4},
{"int (*commit) (DB_TXN*, u_int32_t)", 100, 4},
......
......@@ -75,6 +75,7 @@ struct fieldinfo db_txn_active_fields32[] = {
{0, 224, 224} /* size of whole struct */
};
struct fieldinfo db_txn_fields32[] = {
{"DB_ENV *mgrp /*In TokuDB, mgrp is a DB_ENV not a DB_TXNMGR*/", 0, 4},
{"void *api_internal", 88, 4},
{"int (*abort) (DB_TXN *)", 100, 4},
{"int (*commit) (DB_TXN*, u_int32_t)", 104, 4},
......
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