[pgsqlclient-checkins] pgsqlclient_10/PostgreSql.Data.PgSqlClient/source PgConnectionInternal.cs,1.2
Status: Inactive
Brought to you by:
carlosga_fb
From: Carlos G. Á. <car...@us...> - 2005-04-14 18:51:21
|
Update of /cvsroot/pgsqlclient/pgsqlclient_10/PostgreSql.Data.PgSqlClient/source In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29868 Modified Files: PgConnectionInternal.cs Log Message: Close commands only on connection close instead of dispose them Index: PgConnectionInternal.cs =================================================================== RCS file: /cvsroot/pgsqlclient/pgsqlclient_10/PostgreSql.Data.PgSqlClient/source/PgConnectionInternal.cs,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** PgConnectionInternal.cs 8 Apr 2005 14:24:45 -0000 1.2 --- PgConnectionInternal.cs 14 Apr 2005 18:51:12 -0000 1.3 *************** *** 212,216 **** } ! public void DisposePreparedCommands() { if (this.PreparedCommands.Count > 0) --- 212,216 ---- } ! public void ClosePreparedCommands() { if (this.PreparedCommands.Count > 0) *************** *** 221,225 **** foreach (PgCommand command in commands) { ! command.Dispose(); } --- 221,225 ---- foreach (PgCommand command in commands) { ! command.InternalClose(); } |