SQLITE3_BLOB_REOPEN(3) | Library Functions Manual | SQLITE3_BLOB_REOPEN(3) |
sqlite3_blob_reopen
—
sqlite3_blob_reopen
(sqlite3_blob
*, sqlite3_int64);
The new row must meet the same criteria as for sqlite3_blob_open() - it must exist and there must be either a blob or text value stored in the nominated column. If the new row is not present in the table, or if it does not contain a blob or text value, or if another error occurs, an SQLite error code is returned and the blob handle is considered aborted. All subsequent calls to sqlite3_blob_read(), sqlite3_blob_write() or sqlite3_blob_reopen() on an aborted blob handle immediately return SQLITE_ABORT. Calling sqlite3_blob_bytes() on an aborted blob handle always returns zero.
This function sets the database handle error code and message.
December 19, 2018 | NetBSD 9.2 |