[t:4518], return error in toku_loader_close if brtloader close fails

git-svn-id: file:///svn/toku/tokudb@41832 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
Zardosht Kasheff 2013-04-17 00:00:18 -04:00 committed by Yoni Fogel
parent 61cbfc0e67
commit 8e5170627a

View file

@ -429,7 +429,7 @@ int toku_loader_close(DB_LOADER *loader)
}
else { // no error outstanding
if (!(loader->i->loader_flags & LOADER_USE_PUTS ) ) {
brt_loader_close_and_redirect(loader);
r = brt_loader_close_and_redirect(loader);
}
}
toku_ydb_lock();