[pgsqlclient-checkins] pgsqlclient_10/PostgreSql.Data.PgSqlClient/source PgCommand.cs,1.18,1.19
Status: Inactive
Brought to you by:
carlosga_fb
From: <car...@us...> - 2003-11-26 14:58:40
|
Update of /cvsroot/pgsqlclient/pgsqlclient_10/PostgreSql.Data.PgSqlClient/source In directory sc8-pr-cvs1:/tmp/cvs-serv18134 Modified Files: PgCommand.cs Log Message: 2003-11-26 Carlos Guzmán Álvarez <car...@te...> * source/PgCommand.cs: * source/NPgClient/PgStatement.cs: - Added minor improvement for call Describe only when it's needed. Index: PgCommand.cs =================================================================== RCS file: /cvsroot/pgsqlclient/pgsqlclient_10/PostgreSql.Data.PgSqlClient/source/PgCommand.cs,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** PgCommand.cs 24 Nov 2003 16:38:58 -0000 1.18 --- PgCommand.cs 26 Nov 2003 14:58:37 -0000 1.19 *************** *** 449,455 **** // Parse the statment this.statement.Parse(); ! ! // Describe parameters ! this.statement.Describe(); } else --- 449,458 ---- // Parse the statment this.statement.Parse(); ! ! if (this.parameters.Count != 0) ! { ! // Describe parameters ! this.statement.Describe(); ! } } else |