zain85 / dapper-dot-net

Automatically exported from code.google.com/p/dapper-dot-net
Other
0 stars 0 forks source link

Firebird IDbReader is closed when IDbCommand is disposed #10

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Just use a Firebird connection and do a Query(sql)
2. It should throw when executing

What is the expected output? What do you see instead?
Expected is the same result as you would get by doing a manual ExecuteReader. 
Instead you get an InvalidOperation exception

What version of the product are you using? On what operating system?
I used a clone of r4e36b1b7019f.

Please provide any additional information below.
I used Firebird .Net Data Provider v 2.6.0 
(http://www.firebirdsql.org/index.php?op=files&id=netprovider)

Original issue reported on code.google.com by jernej.l...@gmail.com on 25 Apr 2011 at 6:04

GoogleCodeExporter commented 8 years ago
Pushed a fix:
http://code.google.com/r/jernejlogar-dapper-dot-net/source/detail?r=70eab5187e4c
0abca0aa6a0261440fcde5fa767d

new to mercurial and the DVCS process, hope I didn't mess anything up...

Original comment by jernej.l...@gmail.com on 25 Apr 2011 at 6:08

GoogleCodeExporter commented 8 years ago
good catch ... pulled in

Original comment by sam.saff...@gmail.com on 26 Apr 2011 at 1:23