mirror of
https://github.com/MariaDB/server.git
synced 2025-02-01 19:41:47 +01:00
[t:4814] fix static utils to call ydb_init
git-svn-id: file:///svn/toku/tokudb@43216 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
1f93b05fe1
commit
b91396b82c
1 changed files with 2 additions and 2 deletions
|
@ -246,7 +246,7 @@ static int test_main (int argc, char *const argv[]);
|
||||||
int
|
int
|
||||||
main(int argc, char *const argv[]) {
|
main(int argc, char *const argv[]) {
|
||||||
int r;
|
int r;
|
||||||
#if IS_TDB && (TOKU_WINDOWS)
|
#if IS_TDB && (TOKU_WINDOWS || TDB_IS_STATIC)
|
||||||
toku_ydb_init();
|
toku_ydb_init();
|
||||||
#endif
|
#endif
|
||||||
#if !IS_TDB && DB_VERSION_MINOR==4 && DB_VERSION_MINOR == 7
|
#if !IS_TDB && DB_VERSION_MINOR==4 && DB_VERSION_MINOR == 7
|
||||||
|
@ -255,7 +255,7 @@ main(int argc, char *const argv[]) {
|
||||||
r = db_env_set_func_realloc(toku_realloc); assert(r==0);
|
r = db_env_set_func_realloc(toku_realloc); assert(r==0);
|
||||||
#endif
|
#endif
|
||||||
r = test_main(argc, argv);
|
r = test_main(argc, argv);
|
||||||
#if IS_TDB && (TOKU_WINDOWS)
|
#if IS_TDB && (TOKU_WINDOWS || TDB_IS_STATIC)
|
||||||
toku_ydb_destroy();
|
toku_ydb_destroy();
|
||||||
#endif
|
#endif
|
||||||
return r;
|
return r;
|
||||||
|
|
Loading…
Add table
Reference in a new issue