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
ada8d57b
Commit
ada8d57b
authored
Oct 09, 2007
by
Bradley C. Kuszmaul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Up
git-svn-id:
file:///svn/tokudb@427
c7de825b-a66e-492c-adef-691d508d4ae1
parent
5acc0020
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
1 deletion
+4
-1
buildheader/db.h
buildheader/db.h
+1
-0
buildheader/make_db_h.c
buildheader/make_db_h.c
+1
-0
buildheader/sample_offsets.c
buildheader/sample_offsets.c
+1
-1
include/db.h
include/db.h
+1
-0
No files found.
buildheader/db.h
View file @
ada8d57b
...
@@ -205,6 +205,7 @@ struct __toku_dbt {
...
@@ -205,6 +205,7 @@ struct __toku_dbt {
int
db_env_create
(
DB_ENV
**
,
u_int32_t
);
int
db_env_create
(
DB_ENV
**
,
u_int32_t
);
int
db_create
(
DB
**
,
DB_ENV
*
,
u_int32_t
);
int
db_create
(
DB
**
,
DB_ENV
*
,
u_int32_t
);
char
*
db_strerror
(
int
);
char
*
db_strerror
(
int
);
int
log_compare
(
const
DB_LSN
*
,
const
DB_LSN
*
);
#if defined(__cplusplus)
#if defined(__cplusplus)
}
}
#endif
#endif
...
...
buildheader/make_db_h.c
View file @
ada8d57b
...
@@ -230,6 +230,7 @@ int main (int argc __attribute__((__unused__)), char *argv[] __attribute__((__un
...
@@ -230,6 +230,7 @@ int main (int argc __attribute__((__unused__)), char *argv[] __attribute__((__un
printf
(
"int db_env_create(DB_ENV **, u_int32_t);
\n
"
);
printf
(
"int db_env_create(DB_ENV **, u_int32_t);
\n
"
);
printf
(
"int db_create(DB **, DB_ENV *, u_int32_t);
\n
"
);
printf
(
"int db_create(DB **, DB_ENV *, u_int32_t);
\n
"
);
printf
(
"char *db_strerror(int);
\n
"
);
printf
(
"char *db_strerror(int);
\n
"
);
printf
(
"int log_compare (const DB_LSN*, const DB_LSN *);
\n
"
);
printf
(
"#if defined(__cplusplus)
\n
}
\n
#endif
\n
"
);
printf
(
"#if defined(__cplusplus)
\n
}
\n
#endif
\n
"
);
printf
(
"#endif
\n
"
);
printf
(
"#endif
\n
"
);
return
0
;
return
0
;
...
...
buildheader/sample_offsets.c
View file @
ada8d57b
...
@@ -129,7 +129,7 @@ void sample_db_txn_offsets (void) {
...
@@ -129,7 +129,7 @@ void sample_db_txn_offsets (void) {
field_counter
=
0
;
field_counter
=
0
;
STRUCT_SETUP
(
DB_TXN
,
commit
,
"int (*%s) (DB_TXN*, u_int32_t)"
);
STRUCT_SETUP
(
DB_TXN
,
commit
,
"int (*%s) (DB_TXN*, u_int32_t)"
);
STRUCT_SETUP
(
DB_TXN
,
id
,
"u_int32_t (*%s) (DB_TXN *)"
);
STRUCT_SETUP
(
DB_TXN
,
id
,
"u_int32_t (*%s) (DB_TXN *)"
);
STRUCT_SETUP
(
DB_TXN
,
abort
,
"int (*%s)
__P(
(DB_TXN *)"
);
STRUCT_SETUP
(
DB_TXN
,
abort
,
"int (*%s) (DB_TXN *)"
);
sort_and_dump_fields
(
"db_txn"
,
sizeof
(
DB_TXN
));
sort_and_dump_fields
(
"db_txn"
,
sizeof
(
DB_TXN
));
}
}
...
...
include/db.h
View file @
ada8d57b
...
@@ -205,6 +205,7 @@ struct __toku_dbt {
...
@@ -205,6 +205,7 @@ struct __toku_dbt {
int
db_env_create
(
DB_ENV
**
,
u_int32_t
);
int
db_env_create
(
DB_ENV
**
,
u_int32_t
);
int
db_create
(
DB
**
,
DB_ENV
*
,
u_int32_t
);
int
db_create
(
DB
**
,
DB_ENV
*
,
u_int32_t
);
char
*
db_strerror
(
int
);
char
*
db_strerror
(
int
);
int
log_compare
(
const
DB_LSN
*
,
const
DB_LSN
*
);
#if defined(__cplusplus)
#if defined(__cplusplus)
}
}
#endif
#endif
...
...
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