]> git.ipfire.org Git - thirdparty/sqlite.git/commit
Give the sqlite3 object a pointer to the current Parse so that if an OOM
authordrh <drh@noemail.net>
Fri, 8 Feb 2019 14:55:30 +0000 (14:55 +0000)
committerdrh <drh@noemail.net>
Fri, 8 Feb 2019 14:55:30 +0000 (14:55 +0000)
commit1cf197583de15d352dc169437f619d2e4631cf4b
treefdb5c38ef260c5263604a91f905fe51394d0148b
parent8851e10017893cfaf88acf80e223149fea1a1a37
Give the sqlite3 object a pointer to the current Parse so that if an OOM
occurs, it can automatically set the Parse.rc value to SQLITE_NOMEM.  This
avoids a frequent extra test of db.mallocFailed in the innermost parser loop.

FossilOrigin-Name: 5c6638040b3017c6be016441422d965a3ca00dd6ae1f78cadc0b54562978f64e
manifest
manifest.uuid
src/malloc.c
src/sqliteInt.h
src/tokenize.c