[pgsqlclient-checkins] pgsqlclient_10/PostgreSql.Data.PgSqlClient/source PgCommand.cs,1.1.1.1,1.2
Status: Inactive
Brought to you by:
carlosga_fb
From: <car...@us...> - 2003-08-12 13:33:31
|
Update of /cvsroot/pgsqlclient/pgsqlclient_10/PostgreSql.Data.PgSqlClient/source In directory sc8-pr-cvs1:/tmp/cvs-serv3466 Modified Files: PgCommand.cs Log Message: Added correct handling of null values when setting output parameters values Index: PgCommand.cs =================================================================== RCS file: /cvsroot/pgsqlclient/pgsqlclient_10/PostgreSql.Data.PgSqlClient/source/PgCommand.cs,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** PgCommand.cs 2 Aug 2003 19:43:00 -0000 1.1.1.1 --- PgCommand.cs 12 Aug 2003 13:32:27 -0000 1.2 *************** *** 572,575 **** --- 572,579 ---- ((PgParameter)paramEnumerator.Current).Direction == ParameterDirection.ReturnValue) { + if (values[i] == null) + { + values[i] = System.DBNull.Value; + } ((PgParameter)paramEnumerator.Current).Value = values[i]; i++; |