SQLite Forum

SQLITE_FCNTL_LAST_ERRNO
Login

SQLITE_FCNTL_LAST_ERRNO

(1) By anonymous on 2022-01-27 23:46:04 [source]

What does SQLITE_FCNTL_LAST_ERRNO do? It is not documented on the page with the rest of the op codes. https://www.sqlite.org/c3ref/c_fcntl_begin_atomic_write.html

Also, there is a bullet point on that page that just says "No longer in use." but does not indicate which op code it's referring to.

(2) By RandomCoder on 2022-01-28 01:32:56 in reply to 1 [link] [source]

It appears to just get the errno from last I/O error.

"No longer in use" is for SQLITE_FCNTL_SYNC_OMITTED. The other oddball "Used by the cksmvfs VFS module only" is "SQLITE_FCNTL_CKSM_FILE"