mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-29 08:01:23 +03:00
Have sqlite3_value/column_text/blob_v2() unconditionally return MISUSE for a NULL input object or output target, rather than only when API_ARMOR is in effect. This is debatable.
FossilOrigin-Name: c8edbfc7e8b57e7b1c9a4a5cdfdc00cd7216b6ccc36ff983f85ad94865f6288f
This commit is contained in:
@ -3415,8 +3415,6 @@ globalThis.sqlite3InitModule = sqlite3InitModule;
|
||||
checkRc('SQLITE_OK', "column null pnOut",
|
||||
capi.sqlite3_column_text_v2(q, 1, ppOut, 0, 0));
|
||||
|
||||
/* Some of the following only applies because we build with
|
||||
SQLITE_ENABLE_API_ARMOR. */
|
||||
checkRc('SQLITE_MISUSE', "value null ppOut",
|
||||
capi.sqlite3_value_text_v2(sv, 0, pnOut, 0));
|
||||
checkRc('SQLITE_MISUSE', "value null arg0",
|
||||
|
Reference in New Issue
Block a user