FbCommand.ExecuteNonQuery return value #breaking
------------------------------------------------

                 Key: DNET-927
                 URL: http://tracker.firebirdsql.org/browse/DNET-927
             Project: .NET Data provider
          Issue Type: Bug
          Components: ADO.NET Provider
    Affects Versions: 7.1.1.0
            Reporter: Jiri Cincura
            Assignee: Jiri Cincura


The FbCommand.ExecuteNonQuery should return -1 for everything except insert, 
update, delete, according to "spec".

https://docs.microsoft.com/en-us/dotnet/api/system.data.common.dbcommand.executenonquery

"For UPDATE, INSERT, and DELETE statements, the return value is the number of 
rows affected by the command. For all other types of statements, the return 
value is -1."

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to