Ticket #832 (closed defect: fixed)

Opened 12 months ago

Last modified 12 months ago

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

SltReader.cpp.patch Download (1.1 KB) - added by wyylling 12 months ago.

Change History

Changed 12 months ago by wyylling

Changed 12 months ago by wyylling

  • status changed from new to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.