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
1fcfc7bc
Commit
1fcfc7bc
authored
Oct 09, 2007
by
Bradley C. Kuszmaul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixup
git-svn-id:
file:///svn/tokudb@424
c7de825b-a66e-492c-adef-691d508d4ae1
parent
24cf8939
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
46 additions
and
46 deletions
+46
-46
buildheader/sample_offsets_64.h
buildheader/sample_offsets_64.h
+46
-46
No files found.
buildheader/sample_offsets_64.h
View file @
1fcfc7bc
/* BDB offsets on a 64-bit machine */
#define DB_VERSION_MAJOR_64 4
#define DB_VERSION_MINOR_64
1
#define DB_VERSION_STRING_64 "Berkeley DB Compatability Header 4.
1
"
#define DB_VERSION_MINOR_64
3
#define DB_VERSION_STRING_64 "Berkeley DB Compatability Header 4.
3
"
struct
fieldinfo
db_btree_stat_fields64
[]
=
{
{
"u_int32_t bt_nkeys"
,
12
,
4
},
{
"u_int32_t bt_ndata"
,
16
,
4
},
{
0
,
8
0
,
80
}
/* size of whole struct */
{
0
,
8
4
,
84
}
/* size of whole struct */
};
struct
fieldinfo
db_env_fields64
[]
=
{
{
"int (*close) (DB_ENV *, u_int32_t)"
,
4
32
,
8
},
{
"void (*err) (const DB_ENV *, int, const char *, ...)"
,
4
56
,
8
},
{
"int (*open) (DB_ENV *, const char *, u_int32_t, int)"
,
4
72
,
8
},
{
"int (*set_data_dir) (DB_ENV *, const char *)"
,
488
,
8
},
{
"void (*set_errcall) (DB_ENV *, void (*)(const char *, char *))"
,
52
0
,
8
},
{
"void (*set_errpfx) (DB_ENV *, const char *)"
,
536
,
8
},
{
"int (*set_flags) (DB_ENV *, u_int32_t, int)"
,
552
,
8
},
{
"int (*set_tmp_dir) (DB_ENV *, const char *)"
,
600
,
8
},
{
"int (*set_verbose) (DB_ENV *, u_int32_t, int)"
,
608
,
8
},
{
"int (*set_lg_bsize) (DB_ENV *, u_int32_t)"
,
624
,
8
},
{
"int (*set_lg_dir) (DB_ENV *, const char *)"
,
632
,
8
},
{
"int (*set_lg_max) (DB_ENV *, u_int32_t)"
,
6
40
,
8
},
{
"int (*log_archive) (DB_ENV *, char **[], u_int32_t)"
,
656
,
8
},
{
"int (*log_flush) (DB_ENV *, const DB_LSN *)"
,
680
,
8
},
{
"int (*set_lk_detect) (DB_ENV *, u_int32_t)"
,
720
,
8
},
{
"int (*set_lk_max) (DB_ENV *, u_int32_t)"
,
728
,
8
},
{
"int (*set_cachesize) (DB_ENV *, u_int32_t, u_int32_t, int)"
,
85
6
,
8
},
{
"int (*txn_begin) (DB_ENV *, DB_TXN *, DB_TXN **, u_int32_t)"
,
1
032
,
8
},
{
"int (*txn_checkpoint) (DB_ENV *, u_int32_t, u_int32_t, u_int32_t)"
,
1
040
,
8
},
{
"int (*txn_stat) (DB_ENV *, DB_TXN_STAT **, u_int32_t)"
,
1
064
,
8
},
{
0
,
1
096
,
1096
}
/* size of whole struct */
{
"int (*close) (DB_ENV *, u_int32_t)"
,
4
56
,
8
},
{
"void (*err) (const DB_ENV *, int, const char *, ...)"
,
4
80
,
8
},
{
"int (*open) (DB_ENV *, const char *, u_int32_t, int)"
,
4
96
,
8
},
{
"int (*set_data_dir) (DB_ENV *, const char *)"
,
576
,
8
},
{
"void (*set_errcall) (DB_ENV *, void (*)(const char *, char *))"
,
60
0
,
8
},
{
"void (*set_errpfx) (DB_ENV *, const char *)"
,
632
,
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
},
{
"int (*set_lg_bsize) (DB_ENV *, u_int32_t)"
,
808
,
8
},
{
"int (*set_lg_dir) (DB_ENV *, const char *)"
,
824
,
8
},
{
"int (*set_lg_max) (DB_ENV *, u_int32_t)"
,
8
40
,
8
},
{
"int (*log_archive) (DB_ENV *, char **[], u_int32_t)"
,
864
,
8
},
{
"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 (*set_cachesize) (DB_ENV *, u_int32_t, u_int32_t, int)"
,
109
6
,
8
},
{
"int (*txn_begin) (DB_ENV *, DB_TXN *, DB_TXN **, u_int32_t)"
,
1
328
,
8
},
{
"int (*txn_checkpoint) (DB_ENV *, u_int32_t, u_int32_t, u_int32_t)"
,
1
336
,
8
},
{
"int (*txn_stat) (DB_ENV *, DB_TXN_STAT **, u_int32_t)"
,
1
352
,
8
},
{
0
,
1
400
,
1400
}
/* size of whole struct */
};
struct
fieldinfo
db_key_range_fields64
[]
=
{
{
"double less"
,
0
,
8
},
{
"double equal"
,
8
,
8
},
{
"double greater"
,
16
,
8
},
{
0
,
1
096
,
1096
}
/* size of whole struct */
{
0
,
1
400
,
1400
}
/* size of whole struct */
};
struct
fieldinfo
db_lsn_fields64
[]
=
{
{
0
,
8
,
8
}
/* size of whole struct */
...
...
@@ -44,27 +44,27 @@ struct fieldinfo db_fields64[] = {
{
"int (*close) (DB*, u_int32_t)"
,
448
,
8
},
{
"int (*cursor) (DB *, DB_TXN *, DBC **, u_int32_t)"
,
456
,
8
},
{
"int (*del) (DB *, DB_TXN *, DBT *, u_int32_t)"
,
464
,
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)"
,
536
,
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)"
,
552
,
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)"
,
568
,
8
},
{
"int (*set_flags) (DB *, u_int32_t)"
,
664
,
8
},
{
"int (*stat) (DB *, void *, u_int32_t)"
,
696
,
8
},
{
"int (*set_bt_compare) (DB *, int (*)(DB *, const DBT *, const DBT *))"
,
728
,
8
},
{
0
,
864
,
864
}
/* size of whole struct */
{
"int (*get) (DB *, DB_TXN *, DBT *, DBT *, u_int32_t)"
,
504
,
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
},
{
"int (*remove) (DB *, const char *, const char *, u_int32_t)"
,
656
,
8
},
{
"int (*rename) (DB *, const char *, const char *, const char *, u_int32_t)"
,
664
,
8
},
{
"int (*set_flags) (DB *, u_int32_t)"
,
752
,
8
},
{
"int (*stat) (DB *, void *, u_int32_t)"
,
808
,
8
},
{
"int (*set_bt_compare) (DB *, int (*)(DB *, const DBT *, const DBT *))"
,
856
,
8
},
{
0
,
1056
,
1056
}
/* size of whole struct */
};
struct
fieldinfo
db_txn_active_fields64
[]
=
{
{
"u_int32_t txnid"
,
0
,
4
},
{
"DB_LSN lsn"
,
8
,
8
},
{
0
,
1
6
,
16
}
/* size of whole struct */
{
0
,
1
48
,
148
}
/* size of whole struct */
};
struct
fieldinfo
db_txn_fields64
[]
=
{
{
"int (*abort) __P((DB_TXN *)"
,
1
28
,
8
},
{
"int (*commit) (DB_TXN*, u_int32_t)"
,
1
36
,
8
},
{
"u_int32_t (*id) (DB_TXN *)"
,
152
,
8
},
{
0
,
184
,
184
}
/* size of whole struct */
{
"int (*abort) __P((DB_TXN *)"
,
1
76
,
8
},
{
"int (*commit) (DB_TXN*, u_int32_t)"
,
1
84
,
8
},
{
"u_int32_t (*id) (DB_TXN *)"
,
200
,
8
},
{
0
,
240
,
240
}
/* size of whole struct */
};
struct
fieldinfo
db_txn_stat_fields64
[]
=
{
{
"u_int32_t st_nactive"
,
36
,
4
},
...
...
@@ -72,15 +72,15 @@ struct fieldinfo db_txn_stat_fields64[] = {
{
0
,
72
,
72
}
/* size of whole struct */
};
struct
fieldinfo
dbc_fields64
[]
=
{
{
"int (*c_close) (DBC *)"
,
30
4
,
8
},
{
"int (*c_del) (DBC *, u_int32_t)"
,
32
0
,
8
},
{
"int (*c_get) (DBC *, DBT *, DBT *, u_int32_t)"
,
33
6
,
8
},
{
0
,
432
,
432
}
/* size of whole struct */
{
"int (*c_close) (DBC *)"
,
26
4
,
8
},
{
"int (*c_del) (DBC *, u_int32_t)"
,
28
0
,
8
},
{
"int (*c_get) (DBC *, DBT *, DBT *, u_int32_t)"
,
29
6
,
8
},
{
0
,
384
,
384
}
/* size of whole struct */
};
struct
fieldinfo
dbt_fields64
[]
=
{
{
"void*data"
,
0
,
8
},
{
"u_int32_t size"
,
8
,
4
},
{
"u_int32_t ulen"
,
12
,
4
},
{
"u_int32_t flags"
,
32
,
4
},
{
0
,
40
,
40
}
/* size of whole struct */
{
"u_int32_t flags"
,
24
,
4
},
{
0
,
32
,
32
}
/* size of whole struct */
};
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