This brings SQLite3Query::seek() in line with other drivers - Query::seek() should seek to the given offset, and then return the record.
The addition to numRecords() is because without it, seek() can interfere with the row count by changing the pointer, so we need go back to the first row before we attempt to count them all.
This brings
SQLite3Query::seek()
in line with other drivers -Query::seek()
should seek to the given offset, and then return the record.The addition to
numRecords()
is because without it,seek()
can interfere with the row count by changing the pointer, so we need go back to the first row before we attempt to count them all.