npgsql - Npgsql2: [npgsql-open-discussion][1003946] RE: Connection leak

Started by Nonamealmost 18 years ago1 messagescomitters
Jump to latest
#1Noname
fxjr@pgfoundry.org

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

[npgsql-open-discussion][1003946] RE: Connection leak in ExecuteReader/CloseConnection. Fixed a problem where Npgsql wasn't closing the connection if commandbehavior was said to close it and an error occured while executing ExecuteReader(CommandBehavior) method. Thanks Andrus Moor and Alaric Dailey for heads up and tests.

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