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
5a6ad716
Commit
5a6ad716
authored
Oct 14, 2007
by
Bradley C. Kuszmaul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add db_version
git-svn-id:
file:///svn/tokudb@452
c7de825b-a66e-492c-adef-691d508d4ae1
parent
e7ab3b89
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
2 deletions
+5
-2
buildheader/db.h_4_1
buildheader/db.h_4_1
+2
-1
buildheader/make_db_h.c
buildheader/make_db_h.c
+1
-0
include/db.h
include/db.h
+2
-1
No files found.
buildheader/db.h_4_1
View file @
5a6ad716
...
@@ -9,7 +9,7 @@ extern "C" {
...
@@ -9,7 +9,7 @@ extern "C" {
#define DB_VERSION_MINOR 1
#define DB_VERSION_MINOR 1
#define DB_VERSION_PATCH 24
#define DB_VERSION_PATCH 24
#ifndef _TOKUDB_WRAP_H
#ifndef _TOKUDB_WRAP_H
#define DB_VERSION_STRING "Tokutek: TokuDB"
#define DB_VERSION_STRING "Tokutek: TokuDB
4.1.24
"
#else
#else
#define DB_VERSION_STRING "Tokutek: TokuDB (wrapped bdb)"
#define DB_VERSION_STRING "Tokutek: TokuDB (wrapped bdb)"
#endif
#endif
...
@@ -202,6 +202,7 @@ struct __toku_dbt {
...
@@ -202,6 +202,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);
const char *db_version(int*,int *,int *);
int log_compare (const DB_LSN*, const DB_LSN *);
int log_compare (const DB_LSN*, const DB_LSN *);
#if defined(__cplusplus)
#if defined(__cplusplus)
}
}
...
...
buildheader/make_db_h.c
View file @
5a6ad716
...
@@ -239,6 +239,7 @@ int main (int argc __attribute__((__unused__)), char *argv[] __attribute__((__un
...
@@ -239,6 +239,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
(
"const char *db_version(int*,int *,int *);
\n
"
);
printf
(
"int log_compare (const DB_LSN*, const DB_LSN *);
\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
"
);
...
...
include/db.h
View file @
5a6ad716
...
@@ -9,7 +9,7 @@ extern "C" {
...
@@ -9,7 +9,7 @@ extern "C" {
#define DB_VERSION_MINOR 1
#define DB_VERSION_MINOR 1
#define DB_VERSION_PATCH 24
#define DB_VERSION_PATCH 24
#ifndef _TOKUDB_WRAP_H
#ifndef _TOKUDB_WRAP_H
#define DB_VERSION_STRING "Tokutek: TokuDB"
#define DB_VERSION_STRING "Tokutek: TokuDB
4.1.24
"
#else
#else
#define DB_VERSION_STRING "Tokutek: TokuDB (wrapped bdb)"
#define DB_VERSION_STRING "Tokutek: TokuDB (wrapped bdb)"
#endif
#endif
...
@@ -202,6 +202,7 @@ struct __toku_dbt {
...
@@ -202,6 +202,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
);
const
char
*
db_version
(
int
*
,
int
*
,
int
*
);
int
log_compare
(
const
DB_LSN
*
,
const
DB_LSN
*
);
int
log_compare
(
const
DB_LSN
*
,
const
DB_LSN
*
);
#if defined(__cplusplus)
#if defined(__cplusplus)
}
}
...
...
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