Title: [197577] trunk/Source/WebCore
Revision
197577
Author
beid...@apple.com
Date
2016-03-04 11:42:54 -0800 (Fri, 04 Mar 2016)

Log Message

Remove use of deprecated sqlite3_expired
https://bugs.webkit.org/show_bug.cgi?id=155025

Reviewed by Tim Horton.

Since we exclusively use sqlite3_prepare_v2 and don't use sqlite3_prepare,
manually checking for expired statements is not necessary.

* platform/sql/SQLiteStatement.cpp:
(WebCore::SQLiteStatement::isExpired): Null check the statement, but don't bother
  with sqlite3_expired.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (197576 => 197577)


--- trunk/Source/WebCore/ChangeLog	2016-03-04 19:30:36 UTC (rev 197576)
+++ trunk/Source/WebCore/ChangeLog	2016-03-04 19:42:54 UTC (rev 197577)
@@ -1,3 +1,17 @@
+2016-03-04  Brady Eidson  <beid...@apple.com>
+
+        Remove use of deprecated sqlite3_expired
+        https://bugs.webkit.org/show_bug.cgi?id=155025
+
+        Reviewed by Tim Horton.
+
+        Since we exclusively use sqlite3_prepare_v2 and don't use sqlite3_prepare,
+        manually checking for expired statements is not necessary.
+
+        * platform/sql/SQLiteStatement.cpp:
+        (WebCore::SQLiteStatement::isExpired): Null check the statement, but don't bother
+          with sqlite3_expired.
+
 2016-03-04  Daniel Bates  <daba...@apple.com>
 
         Move CryptoDigest to WebCore/platform

Modified: trunk/Source/WebCore/platform/sql/SQLiteStatement.cpp (197576 => 197577)


--- trunk/Source/WebCore/platform/sql/SQLiteStatement.cpp	2016-03-04 19:30:36 UTC (rev 197576)
+++ trunk/Source/WebCore/platform/sql/SQLiteStatement.cpp	2016-03-04 19:42:54 UTC (rev 197577)
@@ -534,7 +534,7 @@
 
 bool SQLiteStatement::isExpired()
 {
-    return !m_statement || sqlite3_expired(m_statement);
+    return !m_statement;
 }
 
 } // namespace WebCore
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to