Title: [277643] trunk/Source/WebCore
Revision
277643
Author
cdu...@apple.com
Date
2021-05-17 23:34:10 -0700 (Mon, 17 May 2021)

Log Message

Drop unused SQLiteStatement::returnsAtLeastOneResult()
https://bugs.webkit.org/show_bug.cgi?id=225901

Reviewed by Darin Adler.

* platform/sql/SQLiteStatement.cpp:
(WebCore::SQLiteStatement::returnsAtLeastOneResult): Deleted.
* platform/sql/SQLiteStatement.h:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (277642 => 277643)


--- trunk/Source/WebCore/ChangeLog	2021-05-18 05:36:38 UTC (rev 277642)
+++ trunk/Source/WebCore/ChangeLog	2021-05-18 06:34:10 UTC (rev 277643)
@@ -1,5 +1,16 @@
 2021-05-17  Chris Dumez  <cdu...@apple.com>
 
+        Drop unused SQLiteStatement::returnsAtLeastOneResult()
+        https://bugs.webkit.org/show_bug.cgi?id=225901
+
+        Reviewed by Darin Adler.
+
+        * platform/sql/SQLiteStatement.cpp:
+        (WebCore::SQLiteStatement::returnsAtLeastOneResult): Deleted.
+        * platform/sql/SQLiteStatement.h:
+
+2021-05-17  Chris Dumez  <cdu...@apple.com>
+
         Drop SQLiteStatement::return*Results() functions
         https://bugs.webkit.org/show_bug.cgi?id=225899
 

Modified: trunk/Source/WebCore/platform/sql/SQLiteStatement.cpp (277642 => 277643)


--- trunk/Source/WebCore/platform/sql/SQLiteStatement.cpp	2021-05-18 05:36:38 UTC (rev 277642)
+++ trunk/Source/WebCore/platform/sql/SQLiteStatement.cpp	2021-05-18 06:34:10 UTC (rev 277643)
@@ -82,11 +82,6 @@
     return step() == SQLITE_DONE;
 }
 
-bool SQLiteStatement::returnsAtLeastOneResult()
-{
-    return step() == SQLITE_ROW;
-}
-
 int SQLiteStatement::bindBlob(int index, const void* blob, int size)
 {
     ASSERT(index > 0);

Modified: trunk/Source/WebCore/platform/sql/SQLiteStatement.h (277642 => 277643)


--- trunk/Source/WebCore/platform/sql/SQLiteStatement.h	2021-05-18 05:36:38 UTC (rev 277642)
+++ trunk/Source/WebCore/platform/sql/SQLiteStatement.h	2021-05-18 06:34:10 UTC (rev 277643)
@@ -55,11 +55,6 @@
     // returns true if all 3 steps succeed with step() returning SQLITE_DONE
     // returns false otherwise  
     WEBCORE_EXPORT bool executeCommand();
-    
-    // steps, and finalizes.
-    // returns true is step() returns SQLITE_ROW
-    // returns false otherwise
-    bool returnsAtLeastOneResult();
 
     // Returns -1 on last-step failing.  Otherwise, returns number of rows
     // returned in the last step()
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to