Title: [208449] trunk/Source/WebCore
Revision
208449
Author
[email protected]
Date
2016-11-09 11:10:15 -0800 (Wed, 09 Nov 2016)

Log Message

Fix error message when SQLite initialization fails
https://bugs.webkit.org/show_bug.cgi?id=164462

Reviewed by Darin Adler.

* platform/sql/SQLiteDatabase.cpp:
(WebCore::initializeSQLiteIfNecessary):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (208448 => 208449)


--- trunk/Source/WebCore/ChangeLog	2016-11-09 19:01:07 UTC (rev 208448)
+++ trunk/Source/WebCore/ChangeLog	2016-11-09 19:10:15 UTC (rev 208449)
@@ -1,3 +1,13 @@
+2016-11-09  Michael Catanzaro  <[email protected]>
+
+        Fix error message when SQLite initialization fails
+        https://bugs.webkit.org/show_bug.cgi?id=164462
+
+        Reviewed by Darin Adler.
+
+        * platform/sql/SQLiteDatabase.cpp:
+        (WebCore::initializeSQLiteIfNecessary):
+
 2016-11-08  Antoine Quint  <[email protected]>
 
         [Modern Media Controls] UI Library: macOS fullscreen controls

Modified: trunk/Source/WebCore/platform/sql/SQLiteDatabase.cpp (208448 => 208449)


--- trunk/Source/WebCore/platform/sql/SQLiteDatabase.cpp	2016-11-09 19:01:07 UTC (rev 208448)
+++ trunk/Source/WebCore/platform/sql/SQLiteDatabase.cpp	2016-11-09 19:10:15 UTC (rev 208449)
@@ -59,7 +59,7 @@
         // std::call_once is used to stay on the safe side. See bug #143245.
         int ret = sqlite3_initialize();
         if (ret != SQLITE_OK) {
-#if PLATFORM(MAC) || SQLITE_VERSION_NUMBER >= 3007015
+#if SQLITE_VERSION_NUMBER >= 3007015
             WTFLogAlways("Failed to initialize SQLite: %s", sqlite3_errstr(ret));
 #else
             WTFLogAlways("Failed to initialize SQLite");
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to