Accepting request 79098 from home:rwooninck:chromium
Move chromium to it's own place OBS-URL: https://build.opensuse.org/request/show/79098 OBS-URL: https://build.opensuse.org/package/show/network:chromium/chromium?expand=0&rev=1
This commit is contained in:
22
chromium-no-sqlite-debug.patch
Normal file
22
chromium-no-sqlite-debug.patch
Normal file
@@ -0,0 +1,22 @@
|
||||
diff -up chromium-20100218svn39394/src/chrome/common/sqlite_utils.cc.no-sqlite-debugging chromium-20100218svn39394/src/chrome/common/sqlite_utils.cc
|
||||
--- chromium-20100218svn39394/src/chrome/common/sqlite_utils.cc.no-sqlite-debugging 2010-02-18 18:23:31.000000000 -0500
|
||||
+++ chromium-20100218svn39394/src/chrome/common/sqlite_utils.cc 2010-02-19 15:40:50.338131672 -0500
|
||||
@@ -32,8 +32,6 @@ class DebugSQLErrorHandler: public Vanil
|
||||
public:
|
||||
virtual int HandleError(int error, sqlite3* db) {
|
||||
error_ = error;
|
||||
- NOTREACHED() << "sqlite error " << error
|
||||
- << " db " << static_cast<void*>(db);
|
||||
return error;
|
||||
}
|
||||
};
|
||||
@@ -276,8 +274,7 @@ int SQLStatement::prepare(sqlite3* db, c
|
||||
DCHECK(!stmt_);
|
||||
int rv = sqlite3_prepare_v2(db, sql, sql_len, &stmt_, NULL);
|
||||
if (rv != SQLITE_OK) {
|
||||
- SQLErrorHandler* error_handler = GetErrorHandlerFactory()->Make();
|
||||
- return error_handler->HandleError(rv, db);
|
||||
+ DLOG(ERROR) << "SQLStatement.prepare_v2 failed: " << sqlite3_errmsg(db);
|
||||
}
|
||||
return rv;
|
||||
}
|
||||
Reference in New Issue
Block a user