Title: [277617] trunk/Source/WebCore
Revision
277617
Author
achristen...@apple.com
Date
2021-05-17 17:09:54 -0700 (Mon, 17 May 2021)

Log Message

Fix Windows debug build.
https://bugs.webkit.org/show_bug.cgi?id=225855

* platform/network/curl/CookieJarDB.cpp:
(WebCore::CookieJarDB::executeSQLStatement):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (277616 => 277617)


--- trunk/Source/WebCore/ChangeLog	2021-05-18 00:09:17 UTC (rev 277616)
+++ trunk/Source/WebCore/ChangeLog	2021-05-18 00:09:54 UTC (rev 277617)
@@ -1,3 +1,11 @@
+2021-05-17  Alex Christensen  <achristen...@webkit.org>
+
+        Fix Windows debug build.
+        https://bugs.webkit.org/show_bug.cgi?id=225855
+
+        * platform/network/curl/CookieJarDB.cpp:
+        (WebCore::CookieJarDB::executeSQLStatement):
+
 2021-05-17  Devin Rousso  <drou...@apple.com>
 
         [Modern Media Controls] promote submenus items if there is only one

Modified: trunk/Source/WebCore/platform/network/curl/CookieJarDB.cpp (277616 => 277617)


--- trunk/Source/WebCore/platform/network/curl/CookieJarDB.cpp	2021-05-18 00:09:17 UTC (rev 277616)
+++ trunk/Source/WebCore/platform/network/curl/CookieJarDB.cpp	2021-05-18 00:09:54 UTC (rev 277617)
@@ -644,13 +644,13 @@
 bool CookieJarDB::executeSQLStatement(Expected<SQLiteStatement, int>&& statement)
 {
     if (!statement && !checkSQLiteReturnCode(statement.error())) {
-        LOG_ERROR("Failed to prepare %s error: %s", sql.ascii().data(), m_database.lastErrorMsg());
+        LOG_ERROR("Failed to prepare sql statement with error: %s", m_database.lastErrorMsg());
         return false;
     }
 
     int ret = statement->step();
     if (!checkSQLiteReturnCode(ret)) {
-        LOG_ERROR("Failed to execute %s error: %s", sql.ascii().data(), m_database.lastErrorMsg());
+        LOG_ERROR("Failed to execute %s error: %s", statement->query().ascii().data(), m_database.lastErrorMsg());
         return false;
     }
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to