Opened 13 years ago

Closed 13 years ago

#832 closed defect (fixed)

Sqlite provider ReadNext() failed will cause unexpected result.

Reported by: wyylling Owned by: wyylling
Priority: major Milestone: 3.6.0
Component: SQLite Provider Version: 3.6.0
Severity: 3 Keywords:
Cc: External ID: 1402447.02

Description

In Sqlite provider file SltReader.cpp line 1064(sqlite3_step(m_pStmt) == SQLITE_ROW), if sqlite3_step does not return SQLITE_ROW, then the current rowid will increase one, but the returned row is not the row we expect. So when sqlite3_step failed, we need back to the exact rowid that we expect.

Attachments (1)

SltReader.cpp.patch (1.1 KB ) - added by wyylling 13 years ago.

Download all attachments as: .zip

Change History (2)

by wyylling, 13 years ago

Attachment: SltReader.cpp.patch added

comment:1 by wyylling, 13 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.