Commit 24c61785 authored by Bradley C. Kuszmaul's avatar Bradley C. Kuszmaul Committed by Yoni Fogel

Refix to not long changes to a dictionary created in the same transaction....

Refix to not long changes to a dictionary created in the same transaction. Fixes #1389.  Addresses #853.

git-svn-id: file:///svn/toku/tokudb@8790 c7de825b-a66e-492c-adef-691d508d4ae1
parent e2c87687
...@@ -2858,6 +2858,7 @@ int toku_brt_open(BRT t, const char *fname, const char *fname_in_env, const char ...@@ -2858,6 +2858,7 @@ int toku_brt_open(BRT t, const char *fname, const char *fname_in_env, const char
mode_t mode = S_IRWXU|S_IRWXG|S_IRWXO; mode_t mode = S_IRWXU|S_IRWXG|S_IRWXO;
r = toku_logger_log_fcreate(txn, fname_in_env, mode); r = toku_logger_log_fcreate(txn, fname_in_env, mode);
if (r != 0) goto died_after_open; if (r != 0) goto died_after_open;
t->txn_that_created = toku_txn_get_txnid(txn);
} }
r = toku_logger_log_fopen(txn, fname_in_env, toku_cachefile_filenum(t->cf)); r = toku_logger_log_fopen(txn, fname_in_env, toku_cachefile_filenum(t->cf));
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment