|
From: <dav...@us...> - 2008-09-05 01:54:40
|
Revision: 199
http://pgsqlformac.svn.sourceforge.net/pgsqlformac/?rev=199&view=rev
Author: davydgeyl
Date: 2008-09-05 01:54:50 +0000 (Fri, 05 Sep 2008)
Log Message:
-----------
isEof flag should be set to FALSE if we go back to the first or last record
Modified Paths:
--------------
trunk/PGSQLKit/PGSQLRecordset.m
Modified: trunk/PGSQLKit/PGSQLRecordset.m
===================================================================
--- trunk/PGSQLKit/PGSQLRecordset.m 2008-09-05 01:07:00 UTC (rev 198)
+++ trunk/PGSQLKit/PGSQLRecordset.m 2008-09-05 01:54:50 UTC (rev 199)
@@ -53,7 +53,6 @@
return self;
}
-
-(PGSQLField *)fieldByName:(NSString *)fieldName
{
return [currentRecord fieldByName:fieldName];
@@ -110,6 +109,7 @@
PGSQLRecord *result = [[PGSQLRecord alloc] initWithResult:pgResult
atRow:currentRowIndex
columns:columns];
+ isEOF = false;
currentRecord = result;
return result;
}
@@ -149,6 +149,7 @@
PGSQLRecord *result = [[PGSQLRecord alloc] initWithResult:pgResult
atRow:currentRowIndex
columns:columns];
+ isEOF = false;
currentRecord = result;
return result;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|