Fix bogus error reporting.

This commit is contained in:
JoelKatz
2013-04-18 20:21:20 -07:00
parent bd3dc23f9e
commit 8d0f0e31f8

View File

@@ -164,7 +164,7 @@ bool SqliteDatabase::getNextRow(bool finalize)
if (rc==SQLITE_ROW)
return(true);
assert((rc != SQLITE_BUSY) && (rc != SQLITE_LOCKED));
cLog(lsWARNING) << "Rerror: " << mHost << ": " << rc;
tLog((rc != SQLITE_DONE), lsWARNING) << "Rerror: " << mHost << ": " << rc;
}
if (finalize)