[Webkit-unassigned] [Bug 46070] New: SQLResultSet.rowsAffected not cleared

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Sep 19 20:14:36 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=46070

           Summary: SQLResultSet.rowsAffected not cleared
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: Minor
          Priority: P2
         Component: WebCore JavaScript
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: colanderman at gmail.com


Created an attachment (id=68047)
 --> (https://bugs.webkit.org/attachment.cgi?id=68047)
HTML page demonstrating error

After performing an INSERT (for which rowsAffected is correctly set to 1), a subsequent SELECT will also return a result set with rowsAffected set to 1.  rowsAffected should be set to 0 after a SELECT, as explicitly stated in the spec:

"The rowsAffected attribute must return the number of rows that were changed by the SQL statement. If the statement did not affected any rows, then the attribute must return zero. For "SELECT" statements, this returns zero (querying the database doesn't affect any rows)."

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list