Skip to content

Commit

Permalink
Merge pull request #871 from Expensify/master
Browse files Browse the repository at this point in the history
Update expensify_prod branch
  • Loading branch information
rafecolton authored Sep 3, 2020
2 parents 2bce4ae + 820e6f0 commit c1ac634
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion sqlitecluster/SQLite.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -829,7 +829,9 @@ int SQLite::commit() {
} else {
result = SQuery(_db, "committing db transaction", "COMMIT");
}
SINFO("SQuery 'COMMIT' took " << ((STimeNow() - beforeCommit)/1000) << "ms.");
char time[16];
snprintf(time, 16, "%.2fms", (double)(STimeNow() - beforeCommit) / 1000.0);
SINFO("SQuery 'COMMIT' took " << time << ".");

// And record pages after the commit.
int endPages;
Expand Down

0 comments on commit c1ac634

Please sign in to comment.