Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FbCommand.ExecuteNonQuery return value #breaking [DNET927] #852

Closed
firebird-issue-importer opened this issue Jan 20, 2020 · 1 comment
Closed

Comments

@firebird-issue-importer

Submitted by: @cincuranet

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."

Commits: da206eb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants