Issue Details (XML | Word | Printable)

Key: DNET-927
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Jiri Cincura
Reporter: Jiri Cincura
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
.NET Data provider

FbCommand.ExecuteNonQuery return value #breaking

Created: 20/Jan/20 01:53 PM   Updated: 20/Jan/20 01:58 PM
Component/s: ADO.NET Provider
Affects Version/s: 7.1.1.0
Fix Version/s: 7.5.0.0


 Description  « Hide
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."

 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.