mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 11:01:52 +01:00
addresses #1782
move change from 2.0.0 to main line git-svn-id: file:///svn/mysql/tokudb-engine/src@12641 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
6dcda10c36
commit
aa9a0ac928
1 changed files with 5 additions and 2 deletions
|
@ -118,8 +118,12 @@ extern "C" {
|
|||
|
||||
static int tokudb_init_func(void *p) {
|
||||
TOKUDB_DBUG_ENTER("tokudb_init_func");
|
||||
int r;
|
||||
#if defined(_WIN32)
|
||||
toku_ydb_init();
|
||||
r = toku_ydb_init();
|
||||
if (r) {
|
||||
goto error;
|
||||
}
|
||||
#endif
|
||||
|
||||
tokudb_hton = (handlerton *) p;
|
||||
|
@ -168,7 +172,6 @@ static int tokudb_init_func(void *p) {
|
|||
tokudb_log_file_size = max(tokudb_log_file_size, 10 * 1024 * 1024L);
|
||||
DBUG_PRINT("info", ("computing tokudb_log_file_size: %ld\n", tokudb_log_file_size));
|
||||
#endif
|
||||
int r;
|
||||
if ((r = db_env_create(&db_env, 0))) {
|
||||
DBUG_PRINT("info", ("db_env_create %d\n", r));
|
||||
goto error;
|
||||
|
|
Loading…
Add table
Reference in a new issue