| Index: app/sql/connection.cc
|
| ===================================================================
|
| --- app/sql/connection.cc (revision 27122)
|
| +++ app/sql/connection.cc (working copy)
|
| @@ -313,4 +313,12 @@
|
| (*i)->Close();
|
| }
|
|
|
| +int Connection::OnSqliteError(int err, sql::Statement *stmt) {
|
| + if (error_delegate_.get())
|
| + return error_delegate_->OnError(err, this, stmt);
|
| + // The default handling is to assert on debug and to ignore on release.
|
| + NOTREACHED() << GetErrorMessage();
|
| + return err;
|
| +}
|
| +
|
| } // namespace sql
|
|
|