mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-29 08:01:23 +03:00
Update error message text for standard error codes to better describe the
latest usage of those error codes. Modify sqlite3_open_v2() so that it does return a valid sqlite3 object in the event of SQLITE_MISUSE due to bad open flags, so that sqlite3_errmsg() does not report "out of memory" in that case. FossilOrigin-Name: f27b6370407842e2c175ea4aa9ce018723c57eaac0cccc1f8399bc20f33324be
This commit is contained in:
@ -378,7 +378,7 @@ do_malloc_test shared_err-6 -tclbody {
|
||||
# sqlite3_enable_shared_cache 0
|
||||
# } msg
|
||||
# set msg
|
||||
#} {library routine called out of sequence}
|
||||
#} {bad parameter or other API misuse}
|
||||
|
||||
# Again provoke a malloc() failure when a cursor position is being saved,
|
||||
# this time during a ROLLBACK operation by some other handle.
|
||||
|
Reference in New Issue
Block a user