Update of /cvsroot/pgsqlclient/pgsqlclient_10/PostgreSql.Data.PgSqlClient/source
In directory sc8-pr-cvs1:/tmp/cvs-serv27930
Modified Files:
PgCommand.cs
Log Message:
2003-12-02 Carlos Guzmán Álvarez <car...@te...>
* source/PgCommand.cs:
* source/NPgClient/PgStatement.cs:
- Minor uimprovement to prepare process.
Index: PgCommand.cs
===================================================================
RCS file: /cvsroot/pgsqlclient/pgsqlclient_10/PostgreSql.Data.PgSqlClient/source/PgCommand.cs,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -d -r1.19 -r1.20
*** PgCommand.cs 26 Nov 2003 14:58:37 -0000 1.19
--- PgCommand.cs 2 Dec 2003 11:38:27 -0000 1.20
***************
*** 447,458 ****
parseParameterNames());
! // Parse the statment
! this.statement.Parse();
!
! if (this.parameters.Count != 0)
! {
! // Describe parameters
! this.statement.Describe();
! }
}
else
--- 447,452 ----
parseParameterNames());
! // Prepare the statment
! this.statement.Prepare();
}
else
|