Erlend Egeberg Aasland added the comment:
Related:
If sqlite3_value_blob() returns NULL, we should check if sqlite3_errcode()
equals SQLITE_NOMEM and raise MemoryError if it does.
If not, we should initialise cur_py_value to None, because as the
PyBytes_FromStringAndSize docs says: "If v is
New submission from Erlend Egeberg Aasland :
The sqlite3_value_*() API is almost identical to the sqlite3_column_*() API.
sqlite3_value_bytes() should be called after we've converted the value using
sqlite3_value_blob().
See also bpo-43249.
--
components: Library (Lib)
messages: