Commit a1dbfac4 authored by Bradley C. Kuszmaul's avatar Bradley C. Kuszmaul

Add {{DB*dbp}} to {{{DBC}}}. Addresses #215.

git-svn-id: file:///svn/tokudb@1314 c7de825b-a66e-492c-adef-691d508d4ae1
parent 9ab87128
......@@ -174,6 +174,7 @@ void sample_dbc_offsets (void) {
STRUCT_SETUP(DBC, c_get, "int (*%s) (DBC *, DBT *, DBT *, u_int32_t)");
STRUCT_SETUP(DBC, c_pget, "int (*%s) (DBC *, DBT *, DBT *, DBT *, u_int32_t)");
STRUCT_SETUP(DBC, c_put, "int (*%s) (DBC *, DBT *, DBT *, u_int32_t)");
STRUCT_SETUP(DBC, dbp, "DB *%s");
sort_and_dump_fields("dbc", sizeof(DBC));
}
......
......@@ -84,6 +84,7 @@ struct fieldinfo db_txn_stat_fields32[] = {
{0, 60, 60} /* size of whole struct */
};
struct fieldinfo dbc_fields32[] = {
{"DB *dbp", 0, 4},
{"int (*c_close) (DBC *)", 188, 4},
{"int (*c_del) (DBC *, u_int32_t)", 196, 4},
{"int (*c_get) (DBC *, DBT *, DBT *, u_int32_t)", 204, 4},
......
......@@ -88,6 +88,7 @@ struct fieldinfo db_txn_stat_fields32[] = {
{0, 60, 60} /* size of whole struct */
};
struct fieldinfo dbc_fields32[] = {
{"DB *dbp", 0, 4},
{"int (*c_close) (DBC *)", 188, 4},
{"int (*c_del) (DBC *, u_int32_t)", 196, 4},
{"int (*c_get) (DBC *, DBT *, DBT *, u_int32_t)", 204, 4},
......
......@@ -88,6 +88,7 @@ struct fieldinfo db_txn_stat_fields32[] = {
{0, 60, 60} /* size of whole struct */
};
struct fieldinfo dbc_fields32[] = {
{"DB *dbp", 0, 4},
{"int (*c_close) (DBC *)", 188, 4},
{"int (*c_del) (DBC *, u_int32_t)", 196, 4},
{"int (*c_get) (DBC *, DBT *, DBT *, u_int32_t)", 204, 4},
......
......@@ -87,6 +87,7 @@ struct fieldinfo db_txn_stat_fields32[] = {
{0, 68, 68} /* size of whole struct */
};
struct fieldinfo dbc_fields32[] = {
{"DB *dbp", 0, 4},
{"int (*c_close) (DBC *)", 204, 4},
{"int (*c_del) (DBC *, u_int32_t)", 212, 4},
{"int (*c_get) (DBC *, DBT *, DBT *, u_int32_t)", 220, 4},
......
......@@ -87,6 +87,7 @@ struct fieldinfo db_txn_stat_fields32[] = {
{0, 68, 68} /* size of whole struct */
};
struct fieldinfo dbc_fields32[] = {
{"DB *dbp", 0, 4},
{"int (*c_close) (DBC *)", 244, 4},
{"int (*c_del) (DBC *, u_int32_t)", 252, 4},
{"int (*c_get) (DBC *, DBT *, DBT *, u_int32_t)", 260, 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