On 21 Jun 2012, at 2:44pm, Dennis Volodomanov <i...@psunrise.com> wrote:
> I'm using SQLite in C++ code (Windows, MSVC2008, amalgamation). The data is > inserted using sqlite3_bind_int64()/sqlite3_bind_int(). What I mean by "bomb > out" is that it executes this pair of statements tens of thousands of times > (count, then get one row) and works (e.g. "count" returns more than one and > "select" returns one row) and then, once in a while, count returns more than > one, but select doesn't get anything. Are you examining the result code returned by the SELECT commands ? I bet in the cases where the select gets zero rows, it isn't returning SQLITE_OK but it's instead returning some sort of error code. Simon. _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users