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

ExecuteScalarAsync isn't really async #1303

Closed
spolitov opened this Issue Sep 27, 2016 · 0 comments

Comments

Projects
None yet
2 participants
@spolitov

ExecuteScalarAsync is implemented using ExecuteScalarInternalAsync.
But ExecuteScalarInternalAsync invokes non async version of Execute:

using (var reader = Execute(CommandBehavior.SequentialAccess | CommandBehavior.SingleRow))

@roji roji changed the title from ExecuteScalarAsync is not async to ExecuteScalarAsync isn't really async Sep 27, 2016

@roji roji added the 🐞 bug label Sep 27, 2016

@roji roji self-assigned this Sep 27, 2016

@roji roji modified the milestones: 3.0.9, 3.1.9 Sep 27, 2016

@roji roji closed this in 550bfd6 Oct 13, 2016

roji added a commit that referenced this issue Oct 13, 2016

Fix async rewriting issue
Which made ExecuteScalarAsync not really async

Fixes #1303
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment