| Index: webkit/quota/quota_database.cc
|
| ===================================================================
|
| --- webkit/quota/quota_database.cc (revision 107665)
|
| +++ webkit/quota/quota_database.cc (working copy)
|
| @@ -35,6 +35,10 @@
|
| static const char* name() { return "Sqlite.Quota.Error"; }
|
| };
|
|
|
| +sql::ErrorDelegate* GetErrorHandlerForQuotaDb() {
|
| + return new sql::DiagnosticErrorDelegate<HistogramUniquifier>();
|
| +}
|
| +
|
| bool PrepareCachedStatement(
|
| sql::Connection* db, const sql::StatementID& id,
|
| const char* sql, sql::Statement* statement) {
|
| @@ -477,6 +481,8 @@
|
| db_.reset(new sql::Connection);
|
| meta_table_.reset(new sql::MetaTable);
|
|
|
| + db_->set_error_delegate(GetErrorHandlerForQuotaDb());
|
| +
|
| bool opened = false;
|
| if (in_memory_only) {
|
| opened = db_->OpenInMemory();
|
|
|