| Index: Source/WebCore/Modules/webdatabase/SQLStatementBackend.cpp
|
| diff --git a/Source/WebCore/Modules/webdatabase/SQLStatementBackend.cpp b/Source/WebCore/Modules/webdatabase/SQLStatementBackend.cpp
|
| index 0d227044134f3d9dc9ae8fb78f13dd05a1ce7b6c..a6adb7678f0063bb248569251249b3108e17f359 100644
|
| --- a/Source/WebCore/Modules/webdatabase/SQLStatementBackend.cpp
|
| +++ b/Source/WebCore/Modules/webdatabase/SQLStatementBackend.cpp
|
| @@ -127,7 +127,7 @@ bool SQLStatementBackend::execute(DatabaseBackend* db)
|
| int result = statement.prepare();
|
|
|
| if (result != SQLResultOk) {
|
| - LOG(StorageAPI, "Unable to verify correctness of statement %s - error %i (%s)", m_statement.ascii().data(), result, database->lastErrorMsg());
|
| + LOG_INFO(StorageAPI, "Unable to verify correctness of statement %s - error %i (%s)", m_statement.ascii().data(), result, database->lastErrorMsg());
|
| if (result == SQLResultInterrupt)
|
| m_error = SQLError::create(SQLError::DATABASE_ERR, "could not prepare statement", result, "interrupted");
|
| else
|
| @@ -139,7 +139,7 @@ bool SQLStatementBackend::execute(DatabaseBackend* db)
|
| // FIXME: If the statement uses the ?### syntax supported by sqlite, the bind parameter count is very likely off from the number of question marks.
|
| // If this is the case, they might be trying to do something fishy or malicious
|
| if (statement.bindParameterCount() != m_arguments.size()) {
|
| - LOG(StorageAPI, "Bind parameter count doesn't match number of question marks");
|
| + LOG_INFO(StorageAPI, "Bind parameter count doesn't match number of question marks");
|
| m_error = SQLError::create(db->isInterrupted() ? SQLError::DATABASE_ERR : SQLError::SYNTAX_ERR, "number of '?'s in statement string does not match argument count");
|
| db->reportExecuteStatementResult(2, m_error->code(), 0);
|
| return false;
|
| @@ -153,7 +153,7 @@ bool SQLStatementBackend::execute(DatabaseBackend* db)
|
| }
|
|
|
| if (result != SQLResultOk) {
|
| - LOG(StorageAPI, "Failed to bind value index %i to statement for query '%s'", i + 1, m_statement.ascii().data());
|
| + LOG_INFO(StorageAPI, "Failed to bind value index %i to statement for query '%s'", i + 1, m_statement.ascii().data());
|
| db->reportExecuteStatementResult(3, SQLError::DATABASE_ERR, result);
|
| m_error = SQLError::create(SQLError::DATABASE_ERR, "could not bind value", result, database->lastErrorMsg());
|
| return false;
|
|
|