Friday, September 5, 2008

[COMMITTERS] npgsql - Npgsql2: Fixed an improperly added finally block to handle

Log Message:
-----------

Fixed an improperly added finally block to handle closeconnection commandbehavior. By closing the connection in a finally block, I broke the fetch data on demand. Now, I only close the connection when there is an exception.

Thanks Christian Holzner (support at tuga dot it) for heads up and patch.

Modified Files:
--------------
Npgsql2/src/Npgsql:
NpgsqlCommand.cs (r1.27 -> r1.28)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/npgsql/Npgsql2/src/Npgsql/NpgsqlCommand.cs.diff?r1=1.27&r2=1.28)

--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers

No comments: