| Index: Source/WebCore/platform/sql/SQLiteDatabase.cpp
|
| diff --git a/Source/WebCore/platform/sql/SQLiteDatabase.cpp b/Source/WebCore/platform/sql/SQLiteDatabase.cpp
|
| index 2418fc12c458544a79ea5888e2e00f0a6d3c033c..8115616d0de3064931c544acfa90e242d84d9bba 100644
|
| --- a/Source/WebCore/platform/sql/SQLiteDatabase.cpp
|
| +++ b/Source/WebCore/platform/sql/SQLiteDatabase.cpp
|
| @@ -246,7 +246,7 @@ void SQLiteDatabase::setBusyTimeout(int ms)
|
| if (m_db)
|
| sqlite3_busy_timeout(m_db, ms);
|
| else
|
| - LOG(SQLDatabase, "BusyTimeout set on non-open database");
|
| + LOG_INFO(SQLDatabase, "BusyTimeout set on non-open database");
|
| }
|
|
|
| void SQLiteDatabase::setBusyHandler(int(*handler)(void*, int))
|
| @@ -254,7 +254,7 @@ void SQLiteDatabase::setBusyHandler(int(*handler)(void*, int))
|
| if (m_db)
|
| sqlite3_busy_handler(m_db, handler, NULL);
|
| else
|
| - LOG(SQLDatabase, "Busy handler set on non-open database");
|
| + LOG_INFO(SQLDatabase, "Busy handler set on non-open database");
|
| }
|
|
|
| bool SQLiteDatabase::executeCommand(const String& sql)
|
| @@ -284,7 +284,7 @@ void SQLiteDatabase::clearAllTables()
|
| String query = ASCIILiteral("SELECT name FROM sqlite_master WHERE type='table';");
|
| Vector<String> tables;
|
| if (!SQLiteStatement(*this, query).returnTextResults(0, tables)) {
|
| - LOG(SQLDatabase, "Unable to retrieve list of tables from database");
|
| + LOG_INFO(SQLDatabase, "Unable to retrieve list of tables from database");
|
| return;
|
| }
|
|
|
| @@ -292,14 +292,14 @@ void SQLiteDatabase::clearAllTables()
|
| if (*table == "sqlite_sequence")
|
| continue;
|
| if (!executeCommand("DROP TABLE " + *table))
|
| - LOG(SQLDatabase, "Unable to drop table %s", (*table).ascii().data());
|
| + LOG_INFO(SQLDatabase, "Unable to drop table %s", (*table).ascii().data());
|
| }
|
| }
|
|
|
| int SQLiteDatabase::runVacuumCommand()
|
| {
|
| if (!executeCommand(ASCIILiteral("VACUUM;")))
|
| - LOG(SQLDatabase, "Unable to vacuum database - %s", lastErrorMsg());
|
| + LOG_INFO(SQLDatabase, "Unable to vacuum database - %s", lastErrorMsg());
|
| return lastError();
|
| }
|
|
|
| @@ -309,7 +309,7 @@ int SQLiteDatabase::runIncrementalVacuumCommand()
|
| enableAuthorizer(false);
|
|
|
| if (!executeCommand(ASCIILiteral("PRAGMA incremental_vacuum")))
|
| - LOG(SQLDatabase, "Unable to run incremental vacuum - %s", lastErrorMsg());
|
| + LOG_INFO(SQLDatabase, "Unable to run incremental vacuum - %s", lastErrorMsg());
|
|
|
| enableAuthorizer(true);
|
| return lastError();
|
|
|