aboutsummaryrefslogtreecommitdiff
path: root/src/leveldb/doc/bench/db_bench_sqlite3.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/leveldb/doc/bench/db_bench_sqlite3.cc')
-rw-r--r--src/leveldb/doc/bench/db_bench_sqlite3.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leveldb/doc/bench/db_bench_sqlite3.cc b/src/leveldb/doc/bench/db_bench_sqlite3.cc
index 256793a9db..e63aaa8dcc 100644
--- a/src/leveldb/doc/bench/db_bench_sqlite3.cc
+++ b/src/leveldb/doc/bench/db_bench_sqlite3.cc
@@ -618,7 +618,7 @@ class Benchmark {
ErrorCheck(status);
// Execute read statement
- while ((status = sqlite3_step(read_stmt)) == SQLITE_ROW);
+ while ((status = sqlite3_step(read_stmt)) == SQLITE_ROW) {}
StepErrorCheck(status);
// Reset SQLite statement for another use