Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(23)

Unified Diff: sql/statement.cc

Issue 8966003: Update webdata files to take advantage of DLOG(FATAL) in (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« chrome/browser/webdata/token_service_table.cc ('K') | « sql/statement.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sql/statement.cc
diff --git a/sql/statement.cc b/sql/statement.cc
index fd73b0f588561f235d77d82529574ae7e16be05d..0074b72fd1c4158ca0e4340f36b5f1ca85087432 100644
--- a/sql/statement.cc
+++ b/sql/statement.cc
@@ -256,6 +256,10 @@ const char* Statement::GetSQLStatement() {
}
bool Statement::CheckOk(int err) const {
+ // TODO(shess,gbillock): This is only called by Bind*().
+ // Should there be a DLOG(FATAL) on it?
Scott Hess - ex-Googler 2011/12/15 23:02:57 I maybe don't understand the comment. I'd be fine
Greg Billock 2011/12/16 17:26:58 Yeah. This is basically a placeholder to move the
Scott Hess - ex-Googler 2011/12/16 22:37:08 Agreed.
+ if (err == SQLITE_RANGE)
+ DLOG(FATAL) << "Bind value out of range";
return err == SQLITE_OK;
}
« chrome/browser/webdata/token_service_table.cc ('K') | « sql/statement.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698