Commit 4ef59f25 authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

[1068] made sure Updater::committed_ is updated immediately after commit.

parent 3d069e27
......@@ -750,13 +750,12 @@ DatabaseUpdater::commit() {
<< db_name_);
committed_ = true; // make sure the destructor won't trigger rollback
// We release the accessor immediately after commit is completed so that
// we don't hold the possible internal resource any longer.
committed_ = true;
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