diff options
author | drh <> | 2024-05-10 18:24:15 +0000 |
---|---|---|
committer | drh <> | 2024-05-10 18:24:15 +0000 |
commit | 5d783d5c8490d1f115732e803152cf00b4ee4e15 (patch) | |
tree | 1955c55aefcb7f714c22620d5ced2705bcba5e93 /src/sqliteInt.h | |
parent | 8292aa7a18da4d4f5b927bf396479f460ff6d041 (diff) | |
parent | e09e451a48f0e1ef74e15b3469f2dd78dee349a8 (diff) | |
download | sqlite-5d783d5c8490d1f115732e803152cf00b4ee4e15.tar.gz sqlite-5d783d5c8490d1f115732e803152cf00b4ee4e15.zip |
Fix aggregate function processing to correctly deal with OOMs inside of
sqlite3ParserAddCleanup().
(dbsqlfuzz b2d11ca70e55ee8bde48ae0b53fa3e9355812f95).
Also add improved testing support by causing sqlite3FaultSim(300) to
simulate an OOM inside of sqlite3ParserAddCleanup() and by adding
improved fault-sim support to the CLI.
FossilOrigin-Name: c6fd70b3c23fa00eaac9286d4a67e5c8ac76f926c11c220250c34032647bedc1
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r-- | src/sqliteInt.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h index 0da289d52..aa8bfc4b7 100644 --- a/src/sqliteInt.h +++ b/src/sqliteInt.h @@ -4856,7 +4856,7 @@ void sqlite3ExprFunctionUsable(Parse*,const Expr*,const FuncDef*); void sqlite3ExprAssignVarNumber(Parse*, Expr*, u32); void sqlite3ExprDelete(sqlite3*, Expr*); void sqlite3ExprDeleteGeneric(sqlite3*,void*); -void sqlite3ExprDeferredDelete(Parse*, Expr*); +int sqlite3ExprDeferredDelete(Parse*, Expr*); void sqlite3ExprUnmapAndDelete(Parse*, Expr*); ExprList *sqlite3ExprListAppend(Parse*,ExprList*,Expr*); ExprList *sqlite3ExprListAppendVector(Parse*,ExprList*,IdList*,Expr*); |