diff options
author | drh <drh@noemail.net> | 2019-01-17 15:40:41 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2019-01-17 15:40:41 +0000 |
commit | 29c992cb049c0fbf3185082d3f81dd76c13e746d (patch) | |
tree | 6f0440a77be7c961f59cb858c29256198c0cf22b /src/sqliteInt.h | |
parent | 0ad7aa818283c82c550cdf18c7f897341b66f39f (diff) | |
download | sqlite-29c992cb049c0fbf3185082d3f81dd76c13e746d.tar.gz sqlite-29c992cb049c0fbf3185082d3f81dd76c13e746d.zip |
Revamp the SrcList allocator routines to be methods of Parse instead of
being methods of the "sqlite3" object, so that they can leave better error
messages when the SrcList object grows too large.
FossilOrigin-Name: df08d472b090b212fb77ce2aae0e1ffe79ae5db4b1accf55e6fdb18e8b0a7098
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r-- | src/sqliteInt.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h index fe0bd6226..00991a969 100644 --- a/src/sqliteInt.h +++ b/src/sqliteInt.h @@ -3929,8 +3929,8 @@ void sqlite3Insert(Parse*, SrcList*, Select*, IdList*, int, Upsert*); void *sqlite3ArrayAllocate(sqlite3*,void*,int,int*,int*); IdList *sqlite3IdListAppend(Parse*, IdList*, Token*); int sqlite3IdListIndex(IdList*,const char*); -SrcList *sqlite3SrcListEnlarge(sqlite3*, SrcList*, int, int); -SrcList *sqlite3SrcListAppend(sqlite3*, SrcList*, Token*, Token*); +SrcList *sqlite3SrcListEnlarge(Parse*, SrcList*, int, int); +SrcList *sqlite3SrcListAppend(Parse*, SrcList*, Token*, Token*); SrcList *sqlite3SrcListAppendFromTerm(Parse*, SrcList*, Token*, Token*, Token*, Select*, Expr*, IdList*); void sqlite3SrcListIndexedBy(Parse *, SrcList *, Token *); |