mirror of
https://github.com/MariaDB/server.git
synced 2025-02-02 03:51:50 +01:00
git-svn-id: file:///svn/toku/tokudb@10310 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
f116201e5b
commit
e4ee82ef92
1 changed files with 2 additions and 2 deletions
|
@ -3040,9 +3040,9 @@ int toku_close_brt (BRT brt, TOKULOGGER logger, char **error_string) {
|
|||
assert(0==toku_cachefile_count_pinned(brt->cf, 1)); // For the brt, the pinned count should be zero (but if panic, don't worry)
|
||||
//printf("%s:%d closing cachetable\n", __FILE__, __LINE__);
|
||||
// printf("%s:%d brt=%p ,brt->h=%p\n", __FILE__, __LINE__, brt, brt->h);
|
||||
assert(*error_string == 0);
|
||||
if (error_string) assert(*error_string == 0);
|
||||
r = toku_cachefile_close(&brt->cf, logger, error_string);
|
||||
if (r==0) assert(*error_string == 0);
|
||||
if (r==0 && error_string) assert(*error_string == 0);
|
||||
}
|
||||
if (brt->database_name) toku_free(brt->database_name);
|
||||
if (brt->fname) toku_free(brt->fname);
|
||||
|
|
Loading…
Add table
Reference in a new issue