[pgsqlclient-checkins] pgsqlclient_10/PostgreSql.Data.PgSqlClient/source PgDataReader.cs,1.12,1.13
Status: Inactive
Brought to you by:
carlosga_fb
From: <car...@us...> - 2003-11-18 14:19:47
|
Update of /cvsroot/pgsqlclient/pgsqlclient_10/PostgreSql.Data.PgSqlClient/source In directory sc8-pr-cvs1:/tmp/cvs-serv14249 Modified Files: PgDataReader.cs Log Message: Performance improvement Index: PgDataReader.cs =================================================================== RCS file: /cvsroot/pgsqlclient/pgsqlclient_10/PostgreSql.Data.PgSqlClient/source/PgDataReader.cs,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** PgDataReader.cs 8 Nov 2003 12:55:23 -0000 1.12 --- PgDataReader.cs 18 Nov 2003 14:19:44 -0000 1.13 *************** *** 255,259 **** // Get Column Information ! if (cInfoCmd.Statement.Rows.Count > 0) { columnInfo = (object[])cInfoCmd.Statement.Rows[0]; --- 255,260 ---- // Get Column Information ! if (cInfoCmd.Statement.Rows != null && ! cInfoCmd.Statement.Rows.Length > 0) { columnInfo = (object[])cInfoCmd.Statement.Rows[0]; *************** *** 261,265 **** // Get Primary Key Info ! if (pKeyCmd.Statement.Rows.Count > 0) { object[] temp = (object[])pKeyCmd.Statement.Rows[0]; --- 262,267 ---- // Get Primary Key Info ! if (pKeyCmd.Statement.Rows != null && ! pKeyCmd.Statement.Rows.Length > 0) { object[] temp = (object[])pKeyCmd.Statement.Rows[0]; |