Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
05f39bfe
Commit
05f39bfe
authored
Dec 11, 2007
by
Rich Prohaska
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add get_flags. addresses #166
git-svn-id:
file:///svn/tokudb@1084
c7de825b-a66e-492c-adef-691d508d4ae1
parent
26f8d91e
Changes
14
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
191 additions
and
113 deletions
+191
-113
buildheader/db.h_4_3
buildheader/db.h_4_3
+17
-11
buildheader/db.h_4_4
buildheader/db.h_4_4
+33
-25
buildheader/db.h_4_5
buildheader/db.h_4_5
+33
-25
buildheader/db.h_4_6
buildheader/db.h_4_6
+34
-26
buildheader/sample_offsets.c
buildheader/sample_offsets.c
+9
-1
buildheader/sample_offsets_32_4_3.h
buildheader/sample_offsets_32_4_3.h
+4
-0
buildheader/sample_offsets_32_4_4.h
buildheader/sample_offsets_32_4_4.h
+4
-0
buildheader/sample_offsets_32_4_5.h
buildheader/sample_offsets_32_4_5.h
+4
-0
buildheader/sample_offsets_32_4_6.h
buildheader/sample_offsets_32_4_6.h
+4
-0
buildheader/sample_offsets_64_4_3.h
buildheader/sample_offsets_64_4_3.h
+4
-0
buildheader/sample_offsets_64_4_4.h
buildheader/sample_offsets_64_4_4.h
+4
-0
buildheader/sample_offsets_64_4_5.h
buildheader/sample_offsets_64_4_5.h
+4
-0
buildheader/sample_offsets_64_4_6.h
buildheader/sample_offsets_64_4_6.h
+4
-0
include/db.h
include/db.h
+33
-25
No files found.
buildheader/db.h_4_3
View file @
05f39bfe
...
...
@@ -109,7 +109,8 @@ struct __toku_db_env {
void (*set_errcall) (DB_ENV *, void (*)(const char *, char *)); /* 32-bit offset=348 size=4, 64=bit offset=600 size=8 */
void* __toku_dummy7[3];
void (*set_errpfx) (DB_ENV *, const char *); /* 32-bit offset=364 size=4, 64=bit offset=632 size=8 */
void* __toku_dummy8[2];
void* __toku_dummy8[1];
int (*get_flags) (DB_ENV *, u_int32_t *); /* 32-bit offset=372 size=4, 64=bit offset=648 size=8 */
int (*set_flags) (DB_ENV *, u_int32_t, int); /* 32-bit offset=376 size=4, 64=bit offset=656 size=8 */
void* __toku_dummy9[13];
int (*set_tmp_dir) (DB_ENV *, const char *); /* 32-bit offset=432 size=4, 64=bit offset=768 size=8 */
...
...
@@ -128,7 +129,8 @@ struct __toku_db_env {
void* __toku_dummy16[7];
int (*set_lk_detect) (DB_ENV *, u_int32_t); /* 32-bit offset=524 size=4, 64=bit offset=952 size=8 */
int (*set_lk_max) (DB_ENV *, u_int32_t); /* 32-bit offset=528 size=4, 64=bit offset=960 size=8 */
void* __toku_dummy17[16];
void* __toku_dummy17[15];
int (*get_cachesize) (DB_ENV *, u_int32_t *); /* 32-bit offset=592 size=4, 64=bit offset=1088 size=8 */
int (*set_cachesize) (DB_ENV *, u_int32_t, u_int32_t, int); /* 32-bit offset=596 size=4, 64=bit offset=1096 size=8 */
void* __toku_dummy18[28];
int (*txn_begin) (DB_ENV *, DB_TXN *, DB_TXN **, u_int32_t); /* 32-bit offset=712 size=4, 64=bit offset=1328 size=8 */
...
...
@@ -162,26 +164,30 @@ struct __toku_db {
void* __toku_dummy3[4];
int (*get) (DB *, DB_TXN *, DBT *, DBT *, u_int32_t); /* 32-bit offset=300 size=4, 64=bit offset=504 size=8 */
int (*pget) (DB *, DB_TXN *, DBT *, DBT *, DBT *, u_int32_t); /* 32-bit offset=304 size=4, 64=bit offset=512 size=8 */
void* __toku_dummy4[14];
void* __toku_dummy4[7];
int (*get_flags) (DB *, u_int32_t *); /* 32-bit offset=336 size=4, 64=bit offset=576 size=8 */
void* __toku_dummy5[2];
int (*get_pagesize) (DB *, u_int32_t *); /* 32-bit offset=348 size=4, 64=bit offset=600 size=8 */
void* __toku_dummy6[3];
int (*key_range) (DB *, DB_TXN *, DBT *, DB_KEY_RANGE *, u_int32_t); /* 32-bit offset=364 size=4, 64=bit offset=632 size=8 */
int (*open) (DB *, DB_TXN *, const char *, const char *, DBTYPE, u_int32_t, int); /* 32-bit offset=368 size=4, 64=bit offset=640 size=8 */
int (*put) (DB *, DB_TXN *, DBT *, DBT *, u_int32_t); /* 32-bit offset=372 size=4, 64=bit offset=648 size=8 */
int (*remove) (DB *, const char *, const char *, u_int32_t); /* 32-bit offset=376 size=4, 64=bit offset=656 size=8 */
int (*rename) (DB *, const char *, const char *, const char *, u_int32_t); /* 32-bit offset=380 size=4, 64=bit offset=664 size=8 */
void* __toku_dummy
5
[4];
void* __toku_dummy
7
[4];
int (*set_dup_compare) (DB *, int (*)(DB *, const DBT *, const DBT *)); /* 32-bit offset=400 size=4, 64=bit offset=704 size=8 */
void* __toku_dummy
6
[5];
void* __toku_dummy
8
[5];
int (*set_flags) (DB *, u_int32_t); /* 32-bit offset=424 size=4, 64=bit offset=752 size=8 */
void* __toku_dummy
7
[4];
void* __toku_dummy
9
[4];
int (*set_pagesize) (DB *, u_int32_t); /* 32-bit offset=444 size=4, 64=bit offset=792 size=8 */
void* __toku_dummy
8
[1];
void* __toku_dummy
10
[1];
int (*stat) (DB *, void *, u_int32_t); /* 32-bit offset=452 size=4, 64=bit offset=808 size=8 */
void* __toku_dummy
9
[3];
void* __toku_dummy
11
[3];
int (*verify) (DB *, const char *, const char *, FILE *, u_int32_t); /* 32-bit offset=468 size=4, 64=bit offset=840 size=8 */
void* __toku_dummy1
0
[1];
void* __toku_dummy1
2
[1];
int (*set_bt_compare) (DB *, int (*)(DB *, const DBT *, const DBT *)); /* 32-bit offset=476 size=4, 64=bit offset=856 size=8 */
void* __toku_dummy1
1
[23]; /* Padding at the end */
char __toku_dummy1
2
[8]; /* Padding at the end */
void* __toku_dummy1
3
[23]; /* Padding at the end */
char __toku_dummy1
4
[8]; /* Padding at the end */
};
struct __toku_db_txn_active {
u_int32_t txnid; /* 32-bit offset=0 size=4, 64=bit offset=0 size=4 */
...
...
buildheader/db.h_4_4
View file @
05f39bfe
...
...
@@ -101,40 +101,44 @@ struct __toku_db_env {
int (*close) (DB_ENV *, u_int32_t); /* 32-bit offset=368 size=4, 64=bit offset=608 size=8 */
void* __toku_dummy3[2];
void (*err) (const DB_ENV *, int, const char *, ...); /* 32-bit offset=380 size=4, 64=bit offset=632 size=8 */
void* __toku_dummy4[41];
void* __toku_dummy4[3];
int (*get_cachesize) (DB_ENV *, u_int32_t *); /* 32-bit offset=396 size=4, 64=bit offset=664 size=8 */
void* __toku_dummy5[4];
int (*get_flags) (DB_ENV *, u_int32_t *); /* 32-bit offset=416 size=4, 64=bit offset=704 size=8 */
void* __toku_dummy6[32];
int (*log_archive) (DB_ENV *, char **[], u_int32_t); /* 32-bit offset=548 size=4, 64=bit offset=968 size=8 */
void* __toku_dummy
5
[2];
void* __toku_dummy
7
[2];
int (*log_flush) (DB_ENV *, const DB_LSN *); /* 32-bit offset=560 size=4, 64=bit offset=992 size=8 */
void* __toku_dummy
6
[25];
void* __toku_dummy
8
[25];
int (*open) (DB_ENV *, const char *, u_int32_t, int); /* 32-bit offset=664 size=4, 64=bit offset=1200 size=8 */
void* __toku_dummy
7
[12];
void* __toku_dummy
9
[12];
int (*set_cachesize) (DB_ENV *, u_int32_t, u_int32_t, int); /* 32-bit offset=716 size=4, 64=bit offset=1304 size=8 */
int (*set_data_dir) (DB_ENV *, const char *); /* 32-bit offset=720 size=4, 64=bit offset=1312 size=8 */
void* __toku_dummy
8
[1];
void* __toku_dummy
10
[1];
void (*set_errcall) (DB_ENV *, void (*)(const char *, char *)); /* 32-bit offset=728 size=4, 64=bit offset=1328 size=8 */
void* __toku_dummy
9
[1];
void* __toku_dummy
11
[1];
void (*set_errpfx) (DB_ENV *, const char *); /* 32-bit offset=736 size=4, 64=bit offset=1344 size=8 */
void* __toku_dummy1
0
[1];
void* __toku_dummy1
2
[1];
int (*set_flags) (DB_ENV *, u_int32_t, int); /* 32-bit offset=744 size=4, 64=bit offset=1360 size=8 */
void* __toku_dummy1
1
[2];
void* __toku_dummy1
3
[2];
int (*set_lg_bsize) (DB_ENV *, u_int32_t); /* 32-bit offset=756 size=4, 64=bit offset=1384 size=8 */
int (*set_lg_dir) (DB_ENV *, const char *); /* 32-bit offset=760 size=4, 64=bit offset=1392 size=8 */
void* __toku_dummy1
2
[1];
void* __toku_dummy1
4
[1];
int (*set_lg_max) (DB_ENV *, u_int32_t); /* 32-bit offset=768 size=4, 64=bit offset=1408 size=8 */
void* __toku_dummy1
3
[2];
void* __toku_dummy1
5
[2];
int (*set_lk_detect) (DB_ENV *, u_int32_t); /* 32-bit offset=780 size=4, 64=bit offset=1432 size=8 */
int (*set_lk_max) (DB_ENV *, u_int32_t); /* 32-bit offset=784 size=4, 64=bit offset=1440 size=8 */
void* __toku_dummy1
4
[18];
void* __toku_dummy1
6
[18];
int (*set_tmp_dir) (DB_ENV *, const char *); /* 32-bit offset=860 size=4, 64=bit offset=1592 size=8 */
void* __toku_dummy1
5
[2];
void* __toku_dummy1
7
[2];
int (*set_verbose) (DB_ENV *, u_int32_t, int); /* 32-bit offset=872 size=4, 64=bit offset=1616 size=8 */
void* __toku_dummy1
6
[1];
void* __toku_dummy1
8
[1];
int (*txn_begin) (DB_ENV *, DB_TXN *, DB_TXN **, u_int32_t); /* 32-bit offset=880 size=4, 64=bit offset=1632 size=8 */
int (*txn_checkpoint) (DB_ENV *, u_int32_t, u_int32_t, u_int32_t); /* 32-bit offset=884 size=4, 64=bit offset=1640 size=8 */
void* __toku_dummy1
7
[1];
void* __toku_dummy1
9
[1];
int (*txn_stat) (DB_ENV *, DB_TXN_STAT **, u_int32_t); /* 32-bit offset=892 size=4, 64=bit offset=1656 size=8 */
void* __toku_dummy
18
[2]; /* Padding at the end */
char __toku_dummy
19
[16]; /* Padding at the end */
void* __toku_dummy
20
[2]; /* Padding at the end */
char __toku_dummy
21
[16]; /* Padding at the end */
};
struct __toku_db_key_range {
double less; /* 32-bit offset=0 size=8, 64=bit offset=0 size=8 */
...
...
@@ -160,27 +164,31 @@ struct __toku_db {
int (*del) (DB *, DB_TXN *, DBT *, u_int32_t); /* 32-bit offset=292 size=4, 64=bit offset=488 size=8 */
void* __toku_dummy4[3];
int (*get) (DB *, DB_TXN *, DBT *, DBT *, u_int32_t); /* 32-bit offset=308 size=4, 64=bit offset=520 size=8 */
void* __toku_dummy5[24];
void* __toku_dummy5[8];
int (*get_flags) (DB *, u_int32_t *); /* 32-bit offset=344 size=4, 64=bit offset=592 size=8 */
void* __toku_dummy6[6];
int (*get_pagesize) (DB *, u_int32_t *); /* 32-bit offset=372 size=4, 64=bit offset=648 size=8 */
void* __toku_dummy7[8];
int (*key_range) (DB *, DB_TXN *, DBT *, DB_KEY_RANGE *, u_int32_t); /* 32-bit offset=408 size=4, 64=bit offset=720 size=8 */
int (*open) (DB *, DB_TXN *, const char *, const char *, DBTYPE, u_int32_t, int); /* 32-bit offset=412 size=4, 64=bit offset=728 size=8 */
int (*pget) (DB *, DB_TXN *, DBT *, DBT *, DBT *, u_int32_t); /* 32-bit offset=416 size=4, 64=bit offset=736 size=8 */
int (*put) (DB *, DB_TXN *, DBT *, DBT *, u_int32_t); /* 32-bit offset=420 size=4, 64=bit offset=744 size=8 */
int (*remove) (DB *, const char *, const char *, u_int32_t); /* 32-bit offset=424 size=4, 64=bit offset=752 size=8 */
int (*rename) (DB *, const char *, const char *, const char *, u_int32_t); /* 32-bit offset=428 size=4, 64=bit offset=760 size=8 */
void* __toku_dummy
6
[2];
void* __toku_dummy
8
[2];
int (*set_bt_compare) (DB *, int (*)(DB *, const DBT *, const DBT *)); /* 32-bit offset=440 size=4, 64=bit offset=784 size=8 */
void* __toku_dummy
7
[3];
void* __toku_dummy
9
[3];
int (*set_dup_compare) (DB *, int (*)(DB *, const DBT *, const DBT *)); /* 32-bit offset=456 size=4, 64=bit offset=816 size=8 */
void* __toku_dummy
8
[5];
void* __toku_dummy
10
[5];
int (*set_flags) (DB *, u_int32_t); /* 32-bit offset=480 size=4, 64=bit offset=864 size=8 */
void* __toku_dummy
9
[6];
void* __toku_dummy
11
[6];
int (*set_pagesize) (DB *, u_int32_t); /* 32-bit offset=508 size=4, 64=bit offset=920 size=8 */
void* __toku_dummy1
0
[6];
void* __toku_dummy1
2
[6];
int (*stat) (DB *, void *, u_int32_t); /* 32-bit offset=536 size=4, 64=bit offset=976 size=8 */
void* __toku_dummy1
1
[4];
void* __toku_dummy1
3
[4];
int (*verify) (DB *, const char *, const char *, FILE *, u_int32_t); /* 32-bit offset=556 size=4, 64=bit offset=1016 size=8 */
void* __toku_dummy1
2
[5]; /* Padding at the end */
char __toku_dummy1
3
[16]; /* Padding at the end */
void* __toku_dummy1
4
[5]; /* Padding at the end */
char __toku_dummy1
5
[16]; /* Padding at the end */
};
struct __toku_db_txn_active {
u_int32_t txnid; /* 32-bit offset=0 size=4, 64=bit offset=0 size=4 */
...
...
buildheader/db.h_4_5
View file @
05f39bfe
...
...
@@ -101,39 +101,43 @@ struct __toku_db_env {
int (*close) (DB_ENV *, u_int32_t); /* 32-bit offset=372 size=4, 64=bit offset=616 size=8 */
void* __toku_dummy3[2];
void (*err) (const DB_ENV *, int, const char *, ...); /* 32-bit offset=384 size=4, 64=bit offset=640 size=8 */
void* __toku_dummy4[40];
void* __toku_dummy4[3];
int (*get_cachesize) (DB_ENV *, u_int32_t *); /* 32-bit offset=400 size=4, 64=bit offset=672 size=8 */
void* __toku_dummy5[4];
int (*get_flags) (DB_ENV *, u_int32_t *); /* 32-bit offset=420 size=4, 64=bit offset=712 size=8 */
void* __toku_dummy6[31];
int (*log_archive) (DB_ENV *, char **[], u_int32_t); /* 32-bit offset=548 size=4, 64=bit offset=968 size=8 */
void* __toku_dummy
5
[2];
void* __toku_dummy
7
[2];
int (*log_flush) (DB_ENV *, const DB_LSN *); /* 32-bit offset=560 size=4, 64=bit offset=992 size=8 */
void* __toku_dummy
6
[25];
void* __toku_dummy
8
[25];
int (*open) (DB_ENV *, const char *, u_int32_t, int); /* 32-bit offset=664 size=4, 64=bit offset=1200 size=8 */
void* __toku_dummy
7
[27];
void* __toku_dummy
9
[27];
int (*set_cachesize) (DB_ENV *, u_int32_t, u_int32_t, int); /* 32-bit offset=776 size=4, 64=bit offset=1424 size=8 */
int (*set_data_dir) (DB_ENV *, const char *); /* 32-bit offset=780 size=4, 64=bit offset=1432 size=8 */
void* __toku_dummy
8
[1];
void* __toku_dummy
10
[1];
void (*set_errcall) (DB_ENV *, void (*)(const char *, char *)); /* 32-bit offset=788 size=4, 64=bit offset=1448 size=8 */
void* __toku_dummy
9
[1];
void* __toku_dummy
11
[1];
void (*set_errpfx) (DB_ENV *, const char *); /* 32-bit offset=796 size=4, 64=bit offset=1464 size=8 */
void* __toku_dummy1
0
[2];
void* __toku_dummy1
2
[2];
int (*set_flags) (DB_ENV *, u_int32_t, int); /* 32-bit offset=808 size=4, 64=bit offset=1488 size=8 */
void* __toku_dummy1
1
[2];
void* __toku_dummy1
3
[2];
int (*set_lg_bsize) (DB_ENV *, u_int32_t); /* 32-bit offset=820 size=4, 64=bit offset=1512 size=8 */
int (*set_lg_dir) (DB_ENV *, const char *); /* 32-bit offset=824 size=4, 64=bit offset=1520 size=8 */
void* __toku_dummy1
2
[1];
void* __toku_dummy1
4
[1];
int (*set_lg_max) (DB_ENV *, u_int32_t); /* 32-bit offset=832 size=4, 64=bit offset=1536 size=8 */
void* __toku_dummy1
3
[2];
void* __toku_dummy1
5
[2];
int (*set_lk_detect) (DB_ENV *, u_int32_t); /* 32-bit offset=844 size=4, 64=bit offset=1560 size=8 */
void* __toku_dummy1
4
[16];
void* __toku_dummy1
6
[16];
int (*set_tmp_dir) (DB_ENV *, const char *); /* 32-bit offset=912 size=4, 64=bit offset=1696 size=8 */
void* __toku_dummy1
5
[2];
void* __toku_dummy1
7
[2];
int (*set_verbose) (DB_ENV *, u_int32_t, int); /* 32-bit offset=924 size=4, 64=bit offset=1720 size=8 */
void* __toku_dummy1
6
[1];
void* __toku_dummy1
8
[1];
int (*txn_begin) (DB_ENV *, DB_TXN *, DB_TXN **, u_int32_t); /* 32-bit offset=932 size=4, 64=bit offset=1736 size=8 */
int (*txn_checkpoint) (DB_ENV *, u_int32_t, u_int32_t, u_int32_t); /* 32-bit offset=936 size=4, 64=bit offset=1744 size=8 */
void* __toku_dummy1
7
[1];
void* __toku_dummy1
9
[1];
int (*txn_stat) (DB_ENV *, DB_TXN_STAT **, u_int32_t); /* 32-bit offset=944 size=4, 64=bit offset=1760 size=8 */
void* __toku_dummy
18
[2]; /* Padding at the end */
char __toku_dummy
19
[16]; /* Padding at the end */
void* __toku_dummy
20
[2]; /* Padding at the end */
char __toku_dummy
21
[16]; /* Padding at the end */
};
struct __toku_db_key_range {
double less; /* 32-bit offset=0 size=8, 64=bit offset=0 size=8 */
...
...
@@ -159,27 +163,31 @@ struct __toku_db {
int (*del) (DB *, DB_TXN *, DBT *, u_int32_t); /* 32-bit offset=304 size=4, 64=bit offset=512 size=8 */
void* __toku_dummy4[3];
int (*get) (DB *, DB_TXN *, DBT *, DBT *, u_int32_t); /* 32-bit offset=320 size=4, 64=bit offset=544 size=8 */
void* __toku_dummy5[24];
void* __toku_dummy5[8];
int (*get_flags) (DB *, u_int32_t *); /* 32-bit offset=356 size=4, 64=bit offset=616 size=8 */
void* __toku_dummy6[6];
int (*get_pagesize) (DB *, u_int32_t *); /* 32-bit offset=384 size=4, 64=bit offset=672 size=8 */
void* __toku_dummy7[8];
int (*key_range) (DB *, DB_TXN *, DBT *, DB_KEY_RANGE *, u_int32_t); /* 32-bit offset=420 size=4, 64=bit offset=744 size=8 */
int (*open) (DB *, DB_TXN *, const char *, const char *, DBTYPE, u_int32_t, int); /* 32-bit offset=424 size=4, 64=bit offset=752 size=8 */
int (*pget) (DB *, DB_TXN *, DBT *, DBT *, DBT *, u_int32_t); /* 32-bit offset=428 size=4, 64=bit offset=760 size=8 */
int (*put) (DB *, DB_TXN *, DBT *, DBT *, u_int32_t); /* 32-bit offset=432 size=4, 64=bit offset=768 size=8 */
int (*remove) (DB *, const char *, const char *, u_int32_t); /* 32-bit offset=436 size=4, 64=bit offset=776 size=8 */
int (*rename) (DB *, const char *, const char *, const char *, u_int32_t); /* 32-bit offset=440 size=4, 64=bit offset=784 size=8 */
void* __toku_dummy
6
[2];
void* __toku_dummy
8
[2];
int (*set_bt_compare) (DB *, int (*)(DB *, const DBT *, const DBT *)); /* 32-bit offset=452 size=4, 64=bit offset=808 size=8 */
void* __toku_dummy
7
[3];
void* __toku_dummy
9
[3];
int (*set_dup_compare) (DB *, int (*)(DB *, const DBT *, const DBT *)); /* 32-bit offset=468 size=4, 64=bit offset=840 size=8 */
void* __toku_dummy
8
[5];
void* __toku_dummy
10
[5];
int (*set_flags) (DB *, u_int32_t); /* 32-bit offset=492 size=4, 64=bit offset=888 size=8 */
void* __toku_dummy
9
[6];
void* __toku_dummy
11
[6];
int (*set_pagesize) (DB *, u_int32_t); /* 32-bit offset=520 size=4, 64=bit offset=944 size=8 */
void* __toku_dummy1
0
[6];
void* __toku_dummy1
2
[6];
int (*stat) (DB *, void *, u_int32_t); /* 32-bit offset=548 size=4, 64=bit offset=1000 size=8 */
void* __toku_dummy1
1
[4];
void* __toku_dummy1
3
[4];
int (*verify) (DB *, const char *, const char *, FILE *, u_int32_t); /* 32-bit offset=568 size=4, 64=bit offset=1040 size=8 */
void* __toku_dummy1
2
[5]; /* Padding at the end */
char __toku_dummy1
3
[16]; /* Padding at the end */
void* __toku_dummy1
4
[5]; /* Padding at the end */
char __toku_dummy1
5
[16]; /* Padding at the end */
};
struct __toku_db_txn_active {
u_int32_t txnid; /* 32-bit offset=0 size=4, 64=bit offset=0 size=4 */
...
...
buildheader/db.h_4_6
View file @
05f39bfe
...
...
@@ -102,40 +102,44 @@ struct __toku_db_env {
int (*close) (DB_ENV *, u_int32_t); /* 32-bit offset=392 size=4, 64=bit offset=640 size=8 */
void* __toku_dummy3[2];
void (*err) (const DB_ENV *, int, const char *, ...); /* 32-bit offset=404 size=4, 64=bit offset=664 size=8 */
void* __toku_dummy4[42];
void* __toku_dummy4[3];
int (*get_cachesize) (DB_ENV *, u_int32_t *); /* 32-bit offset=420 size=4, 64=bit offset=696 size=8 */
void* __toku_dummy5[5];
int (*get_flags) (DB_ENV *, u_int32_t *); /* 32-bit offset=444 size=4, 64=bit offset=744 size=8 */
void* __toku_dummy6[32];
int (*log_archive) (DB_ENV *, char **[], u_int32_t); /* 32-bit offset=576 size=4, 64=bit offset=1008 size=8 */
void* __toku_dummy
5
[2];
void* __toku_dummy
7
[2];
int (*log_flush) (DB_ENV *, const DB_LSN *); /* 32-bit offset=588 size=4, 64=bit offset=1032 size=8 */
void* __toku_dummy
6
[25];
void* __toku_dummy
8
[25];
int (*open) (DB_ENV *, const char *, u_int32_t, int); /* 32-bit offset=692 size=4, 64=bit offset=1240 size=8 */
void* __toku_dummy
7
[30];
void* __toku_dummy
9
[30];
int (*set_cachesize) (DB_ENV *, u_int32_t, u_int32_t, int); /* 32-bit offset=816 size=4, 64=bit offset=1488 size=8 */
void* __toku_dummy
8
[1];
void* __toku_dummy
10
[1];
int (*set_data_dir) (DB_ENV *, const char *); /* 32-bit offset=824 size=4, 64=bit offset=1504 size=8 */
void* __toku_dummy
9
[1];
void* __toku_dummy
11
[1];
void (*set_errcall) (DB_ENV *, void (*)(const char *, char *)); /* 32-bit offset=832 size=4, 64=bit offset=1520 size=8 */
void* __toku_dummy1
0
[1];
void* __toku_dummy1
2
[1];
void (*set_errpfx) (DB_ENV *, const char *); /* 32-bit offset=840 size=4, 64=bit offset=1536 size=8 */
void* __toku_dummy1
1
[2];
void* __toku_dummy1
3
[2];
int (*set_flags) (DB_ENV *, u_int32_t, int); /* 32-bit offset=852 size=4, 64=bit offset=1560 size=8 */
void* __toku_dummy1
2
[2];
void* __toku_dummy1
4
[2];
int (*set_lg_bsize) (DB_ENV *, u_int32_t); /* 32-bit offset=864 size=4, 64=bit offset=1584 size=8 */
int (*set_lg_dir) (DB_ENV *, const char *); /* 32-bit offset=868 size=4, 64=bit offset=1592 size=8 */
void* __toku_dummy1
3
[1];
void* __toku_dummy1
5
[1];
int (*set_lg_max) (DB_ENV *, u_int32_t); /* 32-bit offset=876 size=4, 64=bit offset=1608 size=8 */
void* __toku_dummy1
4
[2];
void* __toku_dummy1
6
[2];
int (*set_lk_detect) (DB_ENV *, u_int32_t); /* 32-bit offset=888 size=4, 64=bit offset=1632 size=8 */
void* __toku_dummy1
5
[16];
void* __toku_dummy1
7
[16];
int (*set_tmp_dir) (DB_ENV *, const char *); /* 32-bit offset=956 size=4, 64=bit offset=1768 size=8 */
void* __toku_dummy1
6
[2];
void* __toku_dummy1
8
[2];
int (*set_verbose) (DB_ENV *, u_int32_t, int); /* 32-bit offset=968 size=4, 64=bit offset=1792 size=8 */
void* __toku_dummy1
7
[1];
void* __toku_dummy1
9
[1];
int (*txn_begin) (DB_ENV *, DB_TXN *, DB_TXN **, u_int32_t); /* 32-bit offset=976 size=4, 64=bit offset=1808 size=8 */
int (*txn_checkpoint) (DB_ENV *, u_int32_t, u_int32_t, u_int32_t); /* 32-bit offset=980 size=4, 64=bit offset=1816 size=8 */
void* __toku_dummy
18
[1];
void* __toku_dummy
20
[1];
int (*txn_stat) (DB_ENV *, DB_TXN_STAT **, u_int32_t); /* 32-bit offset=988 size=4, 64=bit offset=1832 size=8 */
void* __toku_dummy
19
[2]; /* Padding at the end */
char __toku_dummy2
0
[16]; /* Padding at the end */
void* __toku_dummy
21
[2]; /* Padding at the end */
char __toku_dummy2
2
[16]; /* Padding at the end */
};
struct __toku_db_key_range {
double less; /* 32-bit offset=0 size=8, 64=bit offset=0 size=8 */
...
...
@@ -162,27 +166,31 @@ struct __toku_db {
int (*del) (DB *, DB_TXN *, DBT *, u_int32_t); /* 32-bit offset=312 size=4, 64=bit offset=536 size=8 */
void* __toku_dummy5[4];
int (*get) (DB *, DB_TXN *, DBT *, DBT *, u_int32_t); /* 32-bit offset=332 size=4, 64=bit offset=576 size=8 */
void* __toku_dummy6[26];
void* __toku_dummy6[8];
int (*get_flags) (DB *, u_int32_t *); /* 32-bit offset=368 size=4, 64=bit offset=648 size=8 */
void* __toku_dummy7[7];
int (*get_pagesize) (DB *, u_int32_t *); /* 32-bit offset=400 size=4, 64=bit offset=712 size=8 */
void* __toku_dummy8[9];
int (*key_range) (DB *, DB_TXN *, DBT *, DB_KEY_RANGE *, u_int32_t); /* 32-bit offset=440 size=4, 64=bit offset=792 size=8 */
int (*open) (DB *, DB_TXN *, const char *, const char *, DBTYPE, u_int32_t, int); /* 32-bit offset=444 size=4, 64=bit offset=800 size=8 */
int (*pget) (DB *, DB_TXN *, DBT *, DBT *, DBT *, u_int32_t); /* 32-bit offset=448 size=4, 64=bit offset=808 size=8 */
int (*put) (DB *, DB_TXN *, DBT *, DBT *, u_int32_t); /* 32-bit offset=452 size=4, 64=bit offset=816 size=8 */
int (*remove) (DB *, const char *, const char *, u_int32_t); /* 32-bit offset=456 size=4, 64=bit offset=824 size=8 */
int (*rename) (DB *, const char *, const char *, const char *, u_int32_t); /* 32-bit offset=460 size=4, 64=bit offset=832 size=8 */
void* __toku_dummy
7
[2];
void* __toku_dummy
9
[2];
int (*set_bt_compare) (DB *, int (*)(DB *, const DBT *, const DBT *)); /* 32-bit offset=472 size=4, 64=bit offset=856 size=8 */
void* __toku_dummy
8
[3];
void* __toku_dummy
10
[3];
int (*set_dup_compare) (DB *, int (*)(DB *, const DBT *, const DBT *)); /* 32-bit offset=488 size=4, 64=bit offset=888 size=8 */
void* __toku_dummy
9
[5];
void* __toku_dummy
11
[5];
int (*set_flags) (DB *, u_int32_t); /* 32-bit offset=512 size=4, 64=bit offset=936 size=8 */
void* __toku_dummy1
0
[7];
void* __toku_dummy1
2
[7];
int (*set_pagesize) (DB *, u_int32_t); /* 32-bit offset=544 size=4, 64=bit offset=1000 size=8 */
void* __toku_dummy1
1
[7];
void* __toku_dummy1
3
[7];
int (*stat) (DB *, void *, u_int32_t); /* 32-bit offset=576 size=4, 64=bit offset=1064 size=8 */
void* __toku_dummy1
2
[4];
void* __toku_dummy1
4
[4];
int (*verify) (DB *, const char *, const char *, FILE *, u_int32_t); /* 32-bit offset=596 size=4, 64=bit offset=1104 size=8 */
void* __toku_dummy1
3
[5]; /* Padding at the end */
char __toku_dummy1
4
[16]; /* Padding at the end */
void* __toku_dummy1
5
[5]; /* Padding at the end */
char __toku_dummy1
6
[16]; /* Padding at the end */
};
struct __toku_db_txn_active {
u_int32_t txnid; /* 32-bit offset=0 size=4, 64=bit offset=0 size=4 */
...
...
buildheader/sample_offsets.c
View file @
05f39bfe
...
...
@@ -70,6 +70,10 @@ void sample_db_env_offsets (void) {
STRUCT_SETUP
(
DB_ENV
,
app_private
,
"void *%s"
);
STRUCT_SETUP
(
DB_ENV
,
close
,
"int (*%s) (DB_ENV *, u_int32_t)"
);
STRUCT_SETUP
(
DB_ENV
,
err
,
"void (*%s) (const DB_ENV *, int, const char *, ...)"
);
#if DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR >= 3
STRUCT_SETUP
(
DB_ENV
,
get_cachesize
,
"int (*%s) (DB_ENV *, u_int32_t *)"
);
STRUCT_SETUP
(
DB_ENV
,
get_flags
,
"int (*%s) (DB_ENV *, u_int32_t *)"
);
#endif
STRUCT_SETUP
(
DB_ENV
,
log_archive
,
"int (*%s) (DB_ENV *, char **[], u_int32_t)"
);
STRUCT_SETUP
(
DB_ENV
,
log_flush
,
"int (*%s) (DB_ENV *, const DB_LSN *)"
);
STRUCT_SETUP
(
DB_ENV
,
open
,
"int (*%s) (DB_ENV *, const char *, u_int32_t, int)"
);
...
...
@@ -117,6 +121,10 @@ void sample_db_offsets (void) {
STRUCT_SETUP
(
DB
,
dbenv
,
"DB_ENV *%s"
);
STRUCT_SETUP
(
DB
,
del
,
"int (*%s) (DB *, DB_TXN *, DBT *, u_int32_t)"
);
STRUCT_SETUP
(
DB
,
get
,
"int (*%s) (DB *, DB_TXN *, DBT *, DBT *, u_int32_t)"
);
#if DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR >= 3
STRUCT_SETUP
(
DB
,
get_flags
,
"int (*%s) (DB *, u_int32_t *)"
);
STRUCT_SETUP
(
DB
,
get_pagesize
,
"int (*%s) (DB *, u_int32_t *)"
);
#endif
STRUCT_SETUP
(
DB
,
key_range
,
"int (*%s) (DB *, DB_TXN *, DBT *, DB_KEY_RANGE *, u_int32_t)"
);
STRUCT_SETUP
(
DB
,
open
,
"int (*%s) (DB *, DB_TXN *, const char *, const char *, DBTYPE, u_int32_t, int)"
);
STRUCT_SETUP
(
DB
,
pget
,
"int (*%s) (DB *, DB_TXN *, DBT *, DBT *, DBT *, u_int32_t)"
);
...
...
@@ -125,8 +133,8 @@ void sample_db_offsets (void) {
STRUCT_SETUP
(
DB
,
rename
,
"int (*%s) (DB *, const char *, const char *, const char *, u_int32_t)"
);
STRUCT_SETUP
(
DB
,
set_bt_compare
,
"int (*%s) (DB *, int (*)(DB *, const DBT *, const DBT *))"
);
STRUCT_SETUP
(
DB
,
set_dup_compare
,
"int (*%s) (DB *, int (*)(DB *, const DBT *, const DBT *))"
);
STRUCT_SETUP
(
DB
,
set_pagesize
,
"int (*%s) (DB *, u_int32_t)"
);
STRUCT_SETUP
(
DB
,
set_flags
,
"int (*%s) (DB *, u_int32_t)"
);
STRUCT_SETUP
(
DB
,
set_pagesize
,
"int (*%s) (DB *, u_int32_t)"
);
STRUCT_SETUP
(
DB
,
stat
,
"int (*%s) (DB *, void *, u_int32_t)"
);
STRUCT_SETUP
(
DB
,
verify
,
"int (*%s) (DB *, const char *, const char *, FILE *, u_int32_t)"
);
sort_and_dump_fields
(
"db"
,
sizeof
(
DB
));
...
...
buildheader/sample_offsets_32_4_3.h
View file @
05f39bfe
...
...
@@ -15,6 +15,7 @@ struct fieldinfo db_env_fields32[] = {
{
"int (*set_data_dir) (DB_ENV *, const char *)"
,
336
,
4
},
{
"void (*set_errcall) (DB_ENV *, void (*)(const char *, char *))"
,
348
,
4
},
{
"void (*set_errpfx) (DB_ENV *, const char *)"
,
364
,
4
},
{
"int (*get_flags) (DB_ENV *, u_int32_t *)"
,
372
,
4
},
{
"int (*set_flags) (DB_ENV *, u_int32_t, int)"
,
376
,
4
},
{
"int (*set_tmp_dir) (DB_ENV *, const char *)"
,
432
,
4
},
{
"int (*set_verbose) (DB_ENV *, u_int32_t, int)"
,
440
,
4
},
...
...
@@ -25,6 +26,7 @@ struct fieldinfo db_env_fields32[] = {
{
"int (*log_flush) (DB_ENV *, const DB_LSN *)"
,
492
,
4
},
{
"int (*set_lk_detect) (DB_ENV *, u_int32_t)"
,
524
,
4
},
{
"int (*set_lk_max) (DB_ENV *, u_int32_t)"
,
528
,
4
},
{
"int (*get_cachesize) (DB_ENV *, u_int32_t *)"
,
592
,
4
},
{
"int (*set_cachesize) (DB_ENV *, u_int32_t, u_int32_t, int)"
,
596
,
4
},
{
"int (*txn_begin) (DB_ENV *, DB_TXN *, DB_TXN **, u_int32_t)"
,
712
,
4
},
{
"int (*txn_checkpoint) (DB_ENV *, u_int32_t, u_int32_t, u_int32_t)"
,
716
,
4
},
...
...
@@ -49,6 +51,8 @@ struct fieldinfo db_fields32[] = {
{
"int (*del) (DB *, DB_TXN *, DBT *, u_int32_t)"
,
280
,
4
},
{
"int (*get) (DB *, DB_TXN *, DBT *, DBT *, u_int32_t)"
,
300
,
4
},
{
"int (*pget) (DB *, DB_TXN *, DBT *, DBT *, DBT *, u_int32_t)"
,
304
,
4
},
{
"int (*get_flags) (DB *, u_int32_t *)"
,
336
,
4
},
{
"int (*get_pagesize) (DB *, u_int32_t *)"
,
348
,
4
},
{
"int (*key_range) (DB *, DB_TXN *, DBT *, DB_KEY_RANGE *, u_int32_t)"
,
364
,
4
},
{
"int (*open) (DB *, DB_TXN *, const char *, const char *, DBTYPE, u_int32_t, int)"
,
368
,
4
},
{
"int (*put) (DB *, DB_TXN *, DBT *, DBT *, u_int32_t)"
,
372
,
4
},
...
...
buildheader/sample_offsets_32_4_4.h
View file @
05f39bfe
...
...
@@ -11,6 +11,8 @@ struct fieldinfo db_env_fields32[] = {
{
"void *app_private"
,
44
,
4
},
{
"int (*close) (DB_ENV *, u_int32_t)"
,
368
,
4
},
{
"void (*err) (const DB_ENV *, int, const char *, ...)"
,
380
,
4
},
{
"int (*get_cachesize) (DB_ENV *, u_int32_t *)"
,
396
,
4
},
{
"int (*get_flags) (DB_ENV *, u_int32_t *)"
,
416
,
4
},
{
"int (*log_archive) (DB_ENV *, char **[], u_int32_t)"
,
548
,
4
},
{
"int (*log_flush) (DB_ENV *, const DB_LSN *)"
,
560
,
4
},
{
"int (*open) (DB_ENV *, const char *, u_int32_t, int)"
,
664
,
4
},
...
...
@@ -48,6 +50,8 @@ struct fieldinfo db_fields32[] = {
{
"int (*cursor) (DB *, DB_TXN *, DBC **, u_int32_t)"
,
288
,
4
},
{
"int (*del) (DB *, DB_TXN *, DBT *, u_int32_t)"
,
292
,
4
},
{
"int (*get) (DB *, DB_TXN *, DBT *, DBT *, u_int32_t)"
,
308
,
4
},
{
"int (*get_flags) (DB *, u_int32_t *)"
,
344
,
4
},
{
"int (*get_pagesize) (DB *, u_int32_t *)"
,
372
,
4
},
{
"int (*key_range) (DB *, DB_TXN *, DBT *, DB_KEY_RANGE *, u_int32_t)"
,
408
,
4
},
{
"int (*open) (DB *, DB_TXN *, const char *, const char *, DBTYPE, u_int32_t, int)"
,
412
,
4
},
{
"int (*pget) (DB *, DB_TXN *, DBT *, DBT *, DBT *, u_int32_t)"
,
416
,
4
},
...
...
buildheader/sample_offsets_32_4_5.h
View file @
05f39bfe
...
...
@@ -11,6 +11,8 @@ struct fieldinfo db_env_fields32[] = {
{
"void *app_private"
,
52
,
4
},
{
"int (*close) (DB_ENV *, u_int32_t)"
,
372
,
4
},
{
"void (*err) (const DB_ENV *, int, const char *, ...)"
,
384
,
4
},
{
"int (*get_cachesize) (DB_ENV *, u_int32_t *)"
,
400
,
4
},
{
"int (*get_flags) (DB_ENV *, u_int32_t *)"
,
420
,
4
},
{
"int (*log_archive) (DB_ENV *, char **[], u_int32_t)"
,
548
,
4
},
{
"int (*log_flush) (DB_ENV *, const DB_LSN *)"
,
560
,
4
},
{
"int (*open) (DB_ENV *, const char *, u_int32_t, int)"
,
664
,
4
},
...
...
@@ -47,6 +49,8 @@ struct fieldinfo db_fields32[] = {
{
"int (*cursor) (DB *, DB_TXN *, DBC **, u_int32_t)"
,
300
,
4
},
{
"int (*del) (DB *, DB_TXN *, DBT *, u_int32_t)"
,
304
,
4
},
{
"int (*get) (DB *, DB_TXN *, DBT *, DBT *, u_int32_t)"
,
320
,
4
},
{
"int (*get_flags) (DB *, u_int32_t *)"
,
356
,
4
},
{
"int (*get_pagesize) (DB *, u_int32_t *)"
,
384
,
4
},
{
"int (*key_range) (DB *, DB_TXN *, DBT *, DB_KEY_RANGE *, u_int32_t)"
,
420
,
4
},
{
"int (*open) (DB *, DB_TXN *, const char *, const char *, DBTYPE, u_int32_t, int)"
,
424
,
4
},
{
"int (*pget) (DB *, DB_TXN *, DBT *, DBT *, DBT *, u_int32_t)"
,
428
,
4
},
...
...
buildheader/sample_offsets_32_4_6.h
View file @
05f39bfe
...
...
@@ -11,6 +11,8 @@ struct fieldinfo db_env_fields32[] = {
{
"void *app_private"
,
52
,
4
},
{
"int (*close) (DB_ENV *, u_int32_t)"
,
392
,
4
},
{
"void (*err) (const DB_ENV *, int, const char *, ...)"
,
404
,
4
},
{
"int (*get_cachesize) (DB_ENV *, u_int32_t *)"
,
420
,
4
},
{
"int (*get_flags) (DB_ENV *, u_int32_t *)"
,
444
,
4
},
{
"int (*log_archive) (DB_ENV *, char **[], u_int32_t)"
,
576
,
4
},
{
"int (*log_flush) (DB_ENV *, const DB_LSN *)"
,
588
,
4
},
{
"int (*open) (DB_ENV *, const char *, u_int32_t, int)"
,
692
,
4
},
...
...
@@ -47,6 +49,8 @@ struct fieldinfo db_fields32[] = {
{
"int (*cursor) (DB *, DB_TXN *, DBC **, u_int32_t)"
,
308
,
4
},
{
"int (*del) (DB *, DB_TXN *, DBT *, u_int32_t)"
,
312
,
4
},
{
"int (*get) (DB *, DB_TXN *, DBT *, DBT *, u_int32_t)"
,
332
,
4
},
{
"int (*get_flags) (DB *, u_int32_t *)"
,
368
,
4
},
{
"int (*get_pagesize) (DB *, u_int32_t *)"
,
400
,
4
},
{
"int (*key_range) (DB *, DB_TXN *, DBT *, DB_KEY_RANGE *, u_int32_t)"
,
440
,
4
},
{
"int (*open) (DB *, DB_TXN *, const char *, const char *, DBTYPE, u_int32_t, int)"
,
444
,
4
},
{
"int (*pget) (DB *, DB_TXN *, DBT *, DBT *, DBT *, u_int32_t)"
,
448
,
4
},
...
...
buildheader/sample_offsets_64_4_3.h
View file @
05f39bfe
...
...
@@ -15,6 +15,7 @@ struct fieldinfo db_env_fields64[] = {
{
"int (*set_data_dir) (DB_ENV *, const char *)"
,
576
,
8
},
{
"void (*set_errcall) (DB_ENV *, void (*)(const char *, char *))"
,
600
,
8
},
{
"void (*set_errpfx) (DB_ENV *, const char *)"
,
632
,
8
},
{
"int (*get_flags) (DB_ENV *, u_int32_t *)"
,
648
,
8
},
{
"int (*set_flags) (DB_ENV *, u_int32_t, int)"
,
656
,
8
},
{
"int (*set_tmp_dir) (DB_ENV *, const char *)"
,
768
,
8
},
{
"int (*set_verbose) (DB_ENV *, u_int32_t, int)"
,
784
,
8
},
...
...
@@ -25,6 +26,7 @@ struct fieldinfo db_env_fields64[] = {
{
"int (*log_flush) (DB_ENV *, const DB_LSN *)"
,
888
,
8
},
{
"int (*set_lk_detect) (DB_ENV *, u_int32_t)"
,
952
,
8
},
{
"int (*set_lk_max) (DB_ENV *, u_int32_t)"
,
960
,
8
},
{
"int (*get_cachesize) (DB_ENV *, u_int32_t *)"
,
1088
,
8
},
{
"int (*set_cachesize) (DB_ENV *, u_int32_t, u_int32_t, int)"
,
1096
,
8
},
{
"int (*txn_begin) (DB_ENV *, DB_TXN *, DB_TXN **, u_int32_t)"
,
1328
,
8
},
{
"int (*txn_checkpoint) (DB_ENV *, u_int32_t, u_int32_t, u_int32_t)"
,
1336
,
8
},
...
...
@@ -49,6 +51,8 @@ struct fieldinfo db_fields64[] = {
{
"int (*del) (DB *, DB_TXN *, DBT *, u_int32_t)"
,
464
,
8
},
{
"int (*get) (DB *, DB_TXN *, DBT *, DBT *, u_int32_t)"
,
504
,
8
},
{
"int (*pget) (DB *, DB_TXN *, DBT *, DBT *, DBT *, u_int32_t)"
,
512
,
8
},
{
"int (*get_flags) (DB *, u_int32_t *)"
,
576
,
8
},
{
"int (*get_pagesize) (DB *, u_int32_t *)"
,
600
,
8
},
{
"int (*key_range) (DB *, DB_TXN *, DBT *, DB_KEY_RANGE *, u_int32_t)"
,
632
,
8
},
{
"int (*open) (DB *, DB_TXN *, const char *, const char *, DBTYPE, u_int32_t, int)"
,
640
,
8
},
{
"int (*put) (DB *, DB_TXN *, DBT *, DBT *, u_int32_t)"
,
648
,
8
},
...
...
buildheader/sample_offsets_64_4_4.h
View file @
05f39bfe
...
...
@@ -11,6 +11,8 @@ struct fieldinfo db_env_fields64[] = {
{
"void *app_private"
,
88
,
8
},
{
"int (*close) (DB_ENV *, u_int32_t)"
,
608
,
8
},
{
"void (*err) (const DB_ENV *, int, const char *, ...)"
,
632
,
8
},
{
"int (*get_cachesize) (DB_ENV *, u_int32_t *)"
,
664
,
8
},
{
"int (*get_flags) (DB_ENV *, u_int32_t *)"
,
704
,
8
},
{
"int (*log_archive) (DB_ENV *, char **[], u_int32_t)"
,
968
,
8
},
{
"int (*log_flush) (DB_ENV *, const DB_LSN *)"
,
992
,
8
},
{
"int (*open) (DB_ENV *, const char *, u_int32_t, int)"
,
1200
,
8
},
...
...
@@ -48,6 +50,8 @@ struct fieldinfo db_fields64[] = {
{
"int (*cursor) (DB *, DB_TXN *, DBC **, u_int32_t)"
,
480
,
8
},
{
"int (*del) (DB *, DB_TXN *, DBT *, u_int32_t)"
,
488
,
8
},
{
"int (*get) (DB *, DB_TXN *, DBT *, DBT *, u_int32_t)"
,
520
,
8
},
{
"int (*get_flags) (DB *, u_int32_t *)"
,
592
,
8
},
{
"int (*get_pagesize) (DB *, u_int32_t *)"
,
648
,
8
},
{
"int (*key_range) (DB *, DB_TXN *, DBT *, DB_KEY_RANGE *, u_int32_t)"
,
720
,
8
},
{
"int (*open) (DB *, DB_TXN *, const char *, const char *, DBTYPE, u_int32_t, int)"
,
728
,
8
},
{
"int (*pget) (DB *, DB_TXN *, DBT *, DBT *, DBT *, u_int32_t)"
,
736
,
8
},
...
...
buildheader/sample_offsets_64_4_5.h
View file @
05f39bfe
...
...
@@ -11,6 +11,8 @@ struct fieldinfo db_env_fields64[] = {
{
"void *app_private"
,
104
,
8
},
{
"int (*close) (DB_ENV *, u_int32_t)"
,
616
,
8
},
{
"void (*err) (const DB_ENV *, int, const char *, ...)"
,
640
,
8
},
{
"int (*get_cachesize) (DB_ENV *, u_int32_t *)"
,
672
,
8
},
{
"int (*get_flags) (DB_ENV *, u_int32_t *)"
,
712
,
8
},
{
"int (*log_archive) (DB_ENV *, char **[], u_int32_t)"
,
968
,
8
},
{
"int (*log_flush) (DB_ENV *, const DB_LSN *)"
,
992
,
8
},
{
"int (*open) (DB_ENV *, const char *, u_int32_t, int)"
,
1200
,
8
},
...
...
@@ -47,6 +49,8 @@ struct fieldinfo db_fields64[] = {
{
"int (*cursor) (DB *, DB_TXN *, DBC **, u_int32_t)"
,
504
,
8
},
{
"int (*del) (DB *, DB_TXN *, DBT *, u_int32_t)"
,
512
,
8
},
{
"int (*get) (DB *, DB_TXN *, DBT *, DBT *, u_int32_t)"
,
544
,
8
},
{
"int (*get_flags) (DB *, u_int32_t *)"
,
616
,
8
},
{
"int (*get_pagesize) (DB *, u_int32_t *)"
,
672
,
8
},
{
"int (*key_range) (DB *, DB_TXN *, DBT *, DB_KEY_RANGE *, u_int32_t)"
,
744
,
8
},
{
"int (*open) (DB *, DB_TXN *, const char *, const char *, DBTYPE, u_int32_t, int)"
,
752
,
8
},
{
"int (*pget) (DB *, DB_TXN *, DBT *, DBT *, DBT *, u_int32_t)"
,
760
,
8
},
...
...
buildheader/sample_offsets_64_4_6.h
View file @
05f39bfe
...
...
@@ -11,6 +11,8 @@ struct fieldinfo db_env_fields64[] = {
{
"void *app_private"
,
104
,
8
},
{
"int (*close) (DB_ENV *, u_int32_t)"
,
640
,
8
},
{
"void (*err) (const DB_ENV *, int, const char *, ...)"
,
664
,
8
},
{
"int (*get_cachesize) (DB_ENV *, u_int32_t *)"
,
696
,
8
},
{
"int (*get_flags) (DB_ENV *, u_int32_t *)"
,
744
,
8
},
{
"int (*log_archive) (DB_ENV *, char **[], u_int32_t)"
,
1008
,
8
},
{
"int (*log_flush) (DB_ENV *, const DB_LSN *)"
,
1032
,
8
},
{
"int (*open) (DB_ENV *, const char *, u_int32_t, int)"
,
1240
,
8
},
...
...
@@ -47,6 +49,8 @@ struct fieldinfo db_fields64[] = {
{
"int (*cursor) (DB *, DB_TXN *, DBC **, u_int32_t)"
,
528
,
8
},
{
"int (*del) (DB *, DB_TXN *, DBT *, u_int32_t)"
,
536
,
8
},
{
"int (*get) (DB *, DB_TXN *, DBT *, DBT *, u_int32_t)"
,
576
,
8
},
{
"int (*get_flags) (DB *, u_int32_t *)"
,
648
,
8
},
{
"int (*get_pagesize) (DB *, u_int32_t *)"
,
712
,
8
},
{
"int (*key_range) (DB *, DB_TXN *, DBT *, DB_KEY_RANGE *, u_int32_t)"
,
792
,
8
},
{
"int (*open) (DB *, DB_TXN *, const char *, const char *, DBTYPE, u_int32_t, int)"
,
800
,
8
},
{
"int (*pget) (DB *, DB_TXN *, DBT *, DBT *, DBT *, u_int32_t)"
,
808
,
8
},
...
...
include/db.h
View file @
05f39bfe
...
...
@@ -101,40 +101,44 @@ struct __toku_db_env {
int
(
*
close
)
(
DB_ENV
*
,
u_int32_t
);
/* 32-bit offset=368 size=4, 64=bit offset=608 size=8 */
void
*
__toku_dummy3
[
2
];
void
(
*
err
)
(
const
DB_ENV
*
,
int
,
const
char
*
,
...);
/* 32-bit offset=380 size=4, 64=bit offset=632 size=8 */
void
*
__toku_dummy4
[
41
];
void
*
__toku_dummy4
[
3
];
int
(
*
get_cachesize
)
(
DB_ENV
*
,
u_int32_t
*
);
/* 32-bit offset=396 size=4, 64=bit offset=664 size=8 */
void
*
__toku_dummy5
[
4
];
int
(
*
get_flags
)
(
DB_ENV
*
,
u_int32_t
*
);
/* 32-bit offset=416 size=4, 64=bit offset=704 size=8 */
void
*
__toku_dummy6
[
32
];
int
(
*
log_archive
)
(
DB_ENV
*
,
char
**
[],
u_int32_t
);
/* 32-bit offset=548 size=4, 64=bit offset=968 size=8 */
void
*
__toku_dummy
5
[
2
];
void
*
__toku_dummy
7
[
2
];
int
(
*
log_flush
)
(
DB_ENV
*
,
const
DB_LSN
*
);
/* 32-bit offset=560 size=4, 64=bit offset=992 size=8 */
void
*
__toku_dummy
6
[
25
];
void
*
__toku_dummy
8
[
25
];
int
(
*
open
)
(
DB_ENV
*
,
const
char
*
,
u_int32_t
,
int
);
/* 32-bit offset=664 size=4, 64=bit offset=1200 size=8 */
void
*
__toku_dummy
7
[
12
];
void
*
__toku_dummy
9
[
12
];
int
(
*
set_cachesize
)
(
DB_ENV
*
,
u_int32_t
,
u_int32_t
,
int
);
/* 32-bit offset=716 size=4, 64=bit offset=1304 size=8 */
int
(
*
set_data_dir
)
(
DB_ENV
*
,
const
char
*
);
/* 32-bit offset=720 size=4, 64=bit offset=1312 size=8 */
void
*
__toku_dummy
8
[
1
];
void
*
__toku_dummy
10
[
1
];
void
(
*
set_errcall
)
(
DB_ENV
*
,
void
(
*
)(
const
char
*
,
char
*
));
/* 32-bit offset=728 size=4, 64=bit offset=1328 size=8 */
void
*
__toku_dummy
9
[
1
];
void
*
__toku_dummy
11
[
1
];
void
(
*
set_errpfx
)
(
DB_ENV
*
,
const
char
*
);
/* 32-bit offset=736 size=4, 64=bit offset=1344 size=8 */
void
*
__toku_dummy1
0
[
1
];
void
*
__toku_dummy1
2
[
1
];
int
(
*
set_flags
)
(
DB_ENV
*
,
u_int32_t
,
int
);
/* 32-bit offset=744 size=4, 64=bit offset=1360 size=8 */
void
*
__toku_dummy1
1
[
2
];
void
*
__toku_dummy1
3
[
2
];
int
(
*
set_lg_bsize
)
(
DB_ENV
*
,
u_int32_t
);
/* 32-bit offset=756 size=4, 64=bit offset=1384 size=8 */
int
(
*
set_lg_dir
)
(
DB_ENV
*
,
const
char
*
);
/* 32-bit offset=760 size=4, 64=bit offset=1392 size=8 */
void
*
__toku_dummy1
2
[
1
];
void
*
__toku_dummy1
4
[
1
];
int
(
*
set_lg_max
)
(
DB_ENV
*
,
u_int32_t
);
/* 32-bit offset=768 size=4, 64=bit offset=1408 size=8 */
void
*
__toku_dummy1
3
[
2
];
void
*
__toku_dummy1
5
[
2
];
int
(
*
set_lk_detect
)
(
DB_ENV
*
,
u_int32_t
);
/* 32-bit offset=780 size=4, 64=bit offset=1432 size=8 */
int
(
*
set_lk_max
)
(
DB_ENV
*
,
u_int32_t
);
/* 32-bit offset=784 size=4, 64=bit offset=1440 size=8 */
void
*
__toku_dummy1
4
[
18
];
void
*
__toku_dummy1
6
[
18
];
int
(
*
set_tmp_dir
)
(
DB_ENV
*
,
const
char
*
);
/* 32-bit offset=860 size=4, 64=bit offset=1592 size=8 */
void
*
__toku_dummy1
5
[
2
];
void
*
__toku_dummy1
7
[
2
];
int
(
*
set_verbose
)
(
DB_ENV
*
,
u_int32_t
,
int
);
/* 32-bit offset=872 size=4, 64=bit offset=1616 size=8 */
void
*
__toku_dummy1
6
[
1
];
void
*
__toku_dummy1
8
[
1
];
int
(
*
txn_begin
)
(
DB_ENV
*
,
DB_TXN
*
,
DB_TXN
**
,
u_int32_t
);
/* 32-bit offset=880 size=4, 64=bit offset=1632 size=8 */
int
(
*
txn_checkpoint
)
(
DB_ENV
*
,
u_int32_t
,
u_int32_t
,
u_int32_t
);
/* 32-bit offset=884 size=4, 64=bit offset=1640 size=8 */
void
*
__toku_dummy1
7
[
1
];
void
*
__toku_dummy1
9
[
1
];
int
(
*
txn_stat
)
(
DB_ENV
*
,
DB_TXN_STAT
**
,
u_int32_t
);
/* 32-bit offset=892 size=4, 64=bit offset=1656 size=8 */
void
*
__toku_dummy
18
[
2
];
/* Padding at the end */
char
__toku_dummy
19
[
16
];
/* Padding at the end */
void
*
__toku_dummy
20
[
2
];
/* Padding at the end */
char
__toku_dummy
21
[
16
];
/* Padding at the end */
};
struct
__toku_db_key_range
{
double
less
;
/* 32-bit offset=0 size=8, 64=bit offset=0 size=8 */
...
...
@@ -160,27 +164,31 @@ struct __toku_db {
int
(
*
del
)
(
DB
*
,
DB_TXN
*
,
DBT
*
,
u_int32_t
);
/* 32-bit offset=292 size=4, 64=bit offset=488 size=8 */
void
*
__toku_dummy4
[
3
];
int
(
*
get
)
(
DB
*
,
DB_TXN
*
,
DBT
*
,
DBT
*
,
u_int32_t
);
/* 32-bit offset=308 size=4, 64=bit offset=520 size=8 */
void
*
__toku_dummy5
[
24
];
void
*
__toku_dummy5
[
8
];
int
(
*
get_flags
)
(
DB
*
,
u_int32_t
*
);
/* 32-bit offset=344 size=4, 64=bit offset=592 size=8 */
void
*
__toku_dummy6
[
6
];
int
(
*
get_pagesize
)
(
DB
*
,
u_int32_t
*
);
/* 32-bit offset=372 size=4, 64=bit offset=648 size=8 */
void
*
__toku_dummy7
[
8
];
int
(
*
key_range
)
(
DB
*
,
DB_TXN
*
,
DBT
*
,
DB_KEY_RANGE
*
,
u_int32_t
);
/* 32-bit offset=408 size=4, 64=bit offset=720 size=8 */
int
(
*
open
)
(
DB
*
,
DB_TXN
*
,
const
char
*
,
const
char
*
,
DBTYPE
,
u_int32_t
,
int
);
/* 32-bit offset=412 size=4, 64=bit offset=728 size=8 */
int
(
*
pget
)
(
DB
*
,
DB_TXN
*
,
DBT
*
,
DBT
*
,
DBT
*
,
u_int32_t
);
/* 32-bit offset=416 size=4, 64=bit offset=736 size=8 */
int
(
*
put
)
(
DB
*
,
DB_TXN
*
,
DBT
*
,
DBT
*
,
u_int32_t
);
/* 32-bit offset=420 size=4, 64=bit offset=744 size=8 */
int
(
*
remove
)
(
DB
*
,
const
char
*
,
const
char
*
,
u_int32_t
);
/* 32-bit offset=424 size=4, 64=bit offset=752 size=8 */
int
(
*
rename
)
(
DB
*
,
const
char
*
,
const
char
*
,
const
char
*
,
u_int32_t
);
/* 32-bit offset=428 size=4, 64=bit offset=760 size=8 */
void
*
__toku_dummy
6
[
2
];
void
*
__toku_dummy
8
[
2
];
int
(
*
set_bt_compare
)
(
DB
*
,
int
(
*
)(
DB
*
,
const
DBT
*
,
const
DBT
*
));
/* 32-bit offset=440 size=4, 64=bit offset=784 size=8 */
void
*
__toku_dummy
7
[
3
];
void
*
__toku_dummy
9
[
3
];
int
(
*
set_dup_compare
)
(
DB
*
,
int
(
*
)(
DB
*
,
const
DBT
*
,
const
DBT
*
));
/* 32-bit offset=456 size=4, 64=bit offset=816 size=8 */
void
*
__toku_dummy
8
[
5
];
void
*
__toku_dummy
10
[
5
];
int
(
*
set_flags
)
(
DB
*
,
u_int32_t
);
/* 32-bit offset=480 size=4, 64=bit offset=864 size=8 */
void
*
__toku_dummy
9
[
6
];
void
*
__toku_dummy
11
[
6
];
int
(
*
set_pagesize
)
(
DB
*
,
u_int32_t
);
/* 32-bit offset=508 size=4, 64=bit offset=920 size=8 */
void
*
__toku_dummy1
0
[
6
];
void
*
__toku_dummy1
2
[
6
];
int
(
*
stat
)
(
DB
*
,
void
*
,
u_int32_t
);
/* 32-bit offset=536 size=4, 64=bit offset=976 size=8 */
void
*
__toku_dummy1
1
[
4
];
void
*
__toku_dummy1
3
[
4
];
int
(
*
verify
)
(
DB
*
,
const
char
*
,
const
char
*
,
FILE
*
,
u_int32_t
);
/* 32-bit offset=556 size=4, 64=bit offset=1016 size=8 */
void
*
__toku_dummy1
2
[
5
];
/* Padding at the end */
char
__toku_dummy1
3
[
16
];
/* Padding at the end */
void
*
__toku_dummy1
4
[
5
];
/* Padding at the end */
char
__toku_dummy1
5
[
16
];
/* Padding at the end */
};
struct
__toku_db_txn_active
{
u_int32_t
txnid
;
/* 32-bit offset=0 size=4, 64=bit offset=0 size=4 */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment