[pgsqlclient-checkins] pgsqlclient/PostgreSql.Data.PGSqlClient/source PGDataReader.cs,1.8,1.9
Status: Inactive
Brought to you by:
carlosga_fb
From: <car...@us...> - 2003-07-29 09:26:24
|
Update of /cvsroot/pgsqlclient/pgsqlclient/PostgreSql.Data.PGSqlClient/source In directory sc8-pr-cvs1:/tmp/cvs-serv26253 Modified Files: PGDataReader.cs Log Message: - Changed the way for update RecordsAffected property value, making it at Close and NextResult methods. Index: PGDataReader.cs =================================================================== RCS file: /cvsroot/pgsqlclient/pgsqlclient/PostgreSql.Data.PGSqlClient/source/PGDataReader.cs,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** PGDataReader.cs 28 Jul 2003 12:18:48 -0000 1.8 --- PGDataReader.cs 29 Jul 2003 09:26:20 -0000 1.9 *************** *** 60,65 **** this.command = command; - - updateRecordsAffected(); } --- 60,63 ---- *************** *** 135,138 **** --- 133,139 ---- } + // This will update RecordsAffected property + updateRecordsAffected(); + if (command != null) { *************** *** 168,176 **** } bool returnValue = command.NextResult(); if (returnValue) { - updateRecordsAffected(); position = STARTPOS; } --- 169,178 ---- } + updateRecordsAffected(); + bool returnValue = command.NextResult(); if (returnValue) { position = STARTPOS; } |