Chromium Code Reviews| 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; |
| } |