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

From: fxjr(at)pgfoundry(dot)org (User Fxjr)
To: pgsql-committers(at)postgresql(dot)org
Subject: npgsql - Npgsql2: Fixed an improperly added finally block to handle
Date: 2008-09-05 14:14:56
Message-ID: 20080905141456.BB3C117ADCFC@pgfoundry.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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)

Browse pgsql-committers by date

  From Date Subject
Next Message Dave Page 2008-09-05 14:49:16 stackbuilder - wizard: Allow installed apps to be reinstalled.
Previous Message Dave Page 2008-09-05 13:25:16 stackbuilder - wizard: Improve error message handling for applist and