[pgsqlclient-checkins] pgsqlclient_10/PostgreSql.Data.PgSqlClient/source PgCommand.cs,1.4,1.5 PgComm
Status: Inactive
Brought to you by:
carlosga_fb
From: <car...@us...> - 2003-08-22 19:40:02
|
Update of /cvsroot/pgsqlclient/pgsqlclient_10/PostgreSql.Data.PgSqlClient/source In directory sc8-pr-cvs1:/tmp/cvs-serv30315 Modified Files: PgCommand.cs PgCommandBuilder.cs Log Message: Fixed error with latest commit Index: PgCommand.cs =================================================================== RCS file: /cvsroot/pgsqlclient/pgsqlclient_10/PostgreSql.Data.PgSqlClient/source/PgCommand.cs,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** PgCommand.cs 15 Aug 2003 17:49:05 -0000 1.4 --- PgCommand.cs 22 Aug 2003 19:39:58 -0000 1.5 *************** *** 244,248 **** if (disposing) { ! connection.ActiveCommands.Remove(this); // release any managed resources --- 244,251 ---- if (disposing) { ! if (connection.ActiveCommands != null) ! { ! connection.ActiveCommands.Remove(this); ! } // release any managed resources Index: PgCommandBuilder.cs =================================================================== RCS file: /cvsroot/pgsqlclient/pgsqlclient_10/PostgreSql.Data.PgSqlClient/source/PgCommandBuilder.cs,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** PgCommandBuilder.cs 22 Aug 2003 19:17:31 -0000 1.4 --- PgCommandBuilder.cs 22 Aug 2003 19:39:58 -0000 1.5 *************** *** 233,237 **** try { - bool mustClose = false; if (dataAdapter.SelectCommand.Connection.State == ConnectionState.Closed) { --- 233,236 ---- *************** *** 266,270 **** try { - bool mustClose = false; if (dataAdapter.SelectCommand.Connection.State == ConnectionState.Closed) { --- 265,268 ---- *************** *** 299,303 **** try { - bool mustClose = false; if (dataAdapter.SelectCommand.Connection.State == ConnectionState.Closed) { --- 297,300 ---- |