HasRows doesn't work with preload reader #223
At Npgsql.dll version 2.1.xx,
version 2.0.x HasRows property - good ( PreloaderReader=True/False)
sorry for my poor english.
The value of HasRows changes by a row position. (Npgsql 2.0.12)
create table chkhasrows
NpgsqlCommand command = conn.CreateCommand();
Result of PostgreSQL:
Result of SQL Server and Oracle:
Thank you for your reply.
I'm trying Npgsql 2.1.3.
If preloadreader is false, then the result is right.
I am troubled by these two bugs.
I'm trying SSPI on Npgsql 2.1.3. again.
It is the same procedure as before.
The result was the same.
As for a HasRows problem, my application has to connect the preloadread option by true.It is because multiple DataReaders are opened.
I hope Npgsql to support MARS.
I am troubled by the bug of SSPI and HasRows.
Sorry. This bug is fixed in master branch. Are you able to try it?
I see. I'll have a look at this HasRows problem.