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
62d8cb7f
Commit
62d8cb7f
authored
Oct 15, 2007
by
Bradley C. Kuszmaul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add verify
git-svn-id:
file:///svn/tokudb@458
c7de825b-a66e-492c-adef-691d508d4ae1
parent
5f5d3988
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
5 deletions
+11
-5
buildheader/Makefile
buildheader/Makefile
+1
-0
buildheader/db.h_4_1
buildheader/db.h_4_1
+2
-1
buildheader/db.h_4_3
buildheader/db.h_4_3
+6
-3
include/db.h
include/db.h
+2
-1
No files found.
buildheader/Makefile
View file @
62d8cb7f
CFLAGS
=
-Wall
-W
-O2
-Werror
-g
MYSQL_H
=
-I
../../mysql-5.0.27/mysql-5.0.27/bdb/build_unix/
runs
:
runs_mysql runs_installed
hs
:
db.h_4_3 db.h_4_1
# the mysql versions use the header in the mysql distribution.
runs_mysql
:
./sample_offsets_mysql
./sample_offsets_mysql
...
...
buildheader/db.h_4_1
View file @
62d8cb7f
...
...
@@ -147,7 +147,8 @@ struct __toku_db {
int (*set_flags) (DB *, u_int32_t); /* 32-bit offset=380 size=4, 64=bit offset=664 size=8 */
void* __toku_dummy6[3];
int (*stat) (DB *, void *, u_int32_t); /* 32-bit offset=396 size=4, 64=bit offset=696 size=8 */
void* __toku_dummy7[3];
void* __toku_dummy7[2];
int (*verify) (DB *, const char *, const char *, FILE *, u_int32_t); /* 32-bit offset=408 size=4, 64=bit offset=720 size=8 */
int (*set_bt_compare) (DB *, int (*)(DB *, const DBT *, const DBT *)); /* 32-bit offset=412 size=4, 64=bit offset=728 size=8 */
void* __toku_dummy8[15]; /* Padding at the end */
char __toku_dummy9[8]; /* Padding at the end */
...
...
buildheader/db.h_4_3
View file @
62d8cb7f
...
...
@@ -150,10 +150,12 @@ struct __toku_db {
int (*set_flags) (DB *, u_int32_t); /* 32-bit offset=424 size=4, 64=bit offset=752 size=8 */
void* __toku_dummy6[6];
int (*stat) (DB *, void *, u_int32_t); /* 32-bit offset=452 size=4, 64=bit offset=808 size=8 */
void* __toku_dummy7[5];
void* __toku_dummy7[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_dummy8[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_dummy
8
[23]; /* Padding at the end */
char __toku_dummy
9
[8]; /* Padding at the end */
void* __toku_dummy
9
[23]; /* Padding at the end */
char __toku_dummy
10
[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 */
...
...
@@ -205,6 +207,7 @@ struct __toku_dbt {
int db_env_create(DB_ENV **, u_int32_t);
int db_create(DB **, DB_ENV *, u_int32_t);
char *db_strerror(int);
const char *db_version(int*,int *,int *);
int log_compare (const DB_LSN*, const DB_LSN *);
#if defined(__cplusplus)
}
...
...
include/db.h
View file @
62d8cb7f
...
...
@@ -147,7 +147,8 @@ struct __toku_db {
int
(
*
set_flags
)
(
DB
*
,
u_int32_t
);
/* 32-bit offset=380 size=4, 64=bit offset=664 size=8 */
void
*
__toku_dummy6
[
3
];
int
(
*
stat
)
(
DB
*
,
void
*
,
u_int32_t
);
/* 32-bit offset=396 size=4, 64=bit offset=696 size=8 */
void
*
__toku_dummy7
[
3
];
void
*
__toku_dummy7
[
2
];
int
(
*
verify
)
(
DB
*
,
const
char
*
,
const
char
*
,
FILE
*
,
u_int32_t
);
/* 32-bit offset=408 size=4, 64=bit offset=720 size=8 */
int
(
*
set_bt_compare
)
(
DB
*
,
int
(
*
)(
DB
*
,
const
DBT
*
,
const
DBT
*
));
/* 32-bit offset=412 size=4, 64=bit offset=728 size=8 */
void
*
__toku_dummy8
[
15
];
/* Padding at the end */
char
__toku_dummy9
[
8
];
/* Padding at the end */
...
...
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