Обсуждение: npgsql - Npgsql2: Fixed an improperly added finally block to handle

Поиск
Список
Период
Сортировка

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

От
fxjr@pgfoundry.org (User Fxjr)
Дата:
Log Message:
-----------

Fixed an improperly added finally block to handle closeconnection commandbehavior. By closing the connection in a
finallyblock, 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)