Commit 529ca328 authored by Bradley C. Kuszmaul's avatar Bradley C. Kuszmaul

Save 64 bit sample

git-svn-id: file:///svn/tokudb@250 c7de825b-a66e-492c-adef-691d508d4ae1
parent 8f43232d
/* BDB offsets on a 64-bit machine */ /* BDB offsets on a 64-bit machine */
struct fieldinfo fields64[] = { struct fieldinfo db_fields64[] = {
{"void *app_private", 32, 8}, {"void *app_private", 32, 8},
{"int (*close) (DB*, u_int32_t)", 448, 8}, {"int (*close) (DB*, u_int32_t)", 448, 8},
{"int (*cursor) (DB *, DB_TXN *, DBC **, u_int32_t)", 456, 8}, {"int (*cursor) (DB *, DB_TXN *, DBC **, u_int32_t)", 456, 8},
{"int (*del) (DB *, DB_TXN *, DBT *, u_int32_t)", 464, 8}, {"int (*del) (DB *, DB_TXN *, DBT *, u_int32_t)", 464, 8},
{"int (*get) (DB *, DB_TXN *, DBT *, DBT *, u_int32_t)", 504, 8}, {"int (*get) (DB *, DB_TXN *, DBT *, DBT *, u_int32_t)", 496, 8},
{"int (*key_range) (DB *, DB_TXN *, DBT *, DB_KEY_RANGE *, u_int32_t)", 632, 8}, {"int (*key_range) (DB *, DB_TXN *, DBT *, DB_KEY_RANGE *, u_int32_t)", 536, 8},
{"int (*open) (DB *, DB_TXN *, const char *, const char *, DBTYPE, u_int32_t, int)", 640, 8}, {"int (*open) (DB *, DB_TXN *, const char *, const char *, DBTYPE, u_int32_t, int)", 544, 8},
{"int (*put) (DB *, DB_TXN *, DBT *, DBT *, u_int32_t)", 648, 8}, {"int (*put) (DB *, DB_TXN *, DBT *, DBT *, u_int32_t)", 552, 8},
{"int (*remove) (DB *, const char *, const char *, u_int32_t)", 656, 8}, {"int (*remove) (DB *, const char *, const char *, u_int32_t)", 560, 8},
{"int (*rename) (DB *, const char *, const char *, const char *, u_int32_t)", 664, 8}, {"int (*rename) (DB *, const char *, const char *, const char *, u_int32_t)", 568, 8},
{"int (*set_flags) (DB *, u_int32_t)", 752, 8}, {"int (*set_flags) (DB *, u_int32_t)", 664, 8},
{"int (*stat) (DB *, void *, u_int32_t)", 808, 8}, {"int (*stat) (DB *, void *, u_int32_t)", 696, 8},
{"int (*set_bt_compare) (DB *, int (*)(DB *, const DBT *, const DBT *))", 856, 8} {"int (*set_bt_compare) (DB *, int (*)(DB *, const DBT *, const DBT *))", 728, 8}
};
struct fieldinfo dbt_fields64[] = {
{"void*data", 0, 8},
{"u_int32_t size", 8, 4},
{"u_int32_t ulen", 12, 4},
{"void*app_private", 24, 8},
{"u_int32_t flags", 32, 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