Update of /cvsroot/pgsqlclient/pgsqlclient/PostgreSql.Data.PGSqlClient/source/NPGClient
In directory sc8-pr-cvs1:/tmp/cvs-serv11033
Modified Files:
PGOutputPacket.cs
Log Message:
Fixed decimal datatype write.
Index: PGOutputPacket.cs
===================================================================
RCS file: /cvsroot/pgsqlclient/pgsqlclient/PostgreSql.Data.PGSqlClient/source/NPGClient/PGOutputPacket.cs,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** PGOutputPacket.cs 17 Jul 2003 13:41:42 -0000 1.2
--- PGOutputPacket.cs 18 Jul 2003 22:46:22 -0000 1.3
***************
*** 195,200 ****
*/
string paramValue = parameter.Value.ToString();
! WriteInt(encoding.GetByteCount(paramValue + PGCodes.NULL_TERMINATOR));
! WriteString(paramValue);
}
break;
--- 195,200 ----
*/
string paramValue = parameter.Value.ToString();
! WriteInt(encoding.GetByteCount(paramValue));
! Write(paramValue.ToCharArray());
}
break;
|