** In the legacy interface, the return value will be either [SQLITE_BUSY],
** [SQLITE_DONE], [SQLITE_ROW], [SQLITE_ERROR], or [SQLITE_MISUSE].
** With the "v2" interface, any of the other [SQLITE_OK | result code]
** or [SQLITE_IOERR_READ | extended result code] might be returned as
** well.

the above is comments for sqlite3_step, I was wondering what does it
mean for  sqlite3_step returns SQLITE_OK?
if it means query returns no results,
Shouldn't it be returning SQLITE_DONE in that case, rather than SQLITE_OK?
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to