1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-10 01:02:56 +03:00

Work toward reducing the incremental size of an ExprList object to 24-byte

per entry, from 32-bytes (on a 64-bit machine).  This helps the new
mini-lookaside allocator to run better by avoiding excessive reallocs.
The current change mostly works, but still has a few loose ends to tie up.
This check-in is merely a snapshot to save my work.

FossilOrigin-Name: fdda76cfb01bf2b19522ac4558b443634d28a69b0828677c42682b645eae1f3b
This commit is contained in:
drh
2019-12-12 22:11:33 +00:00
parent c947d6a4dc
commit cbb9da337e
6 changed files with 54 additions and 39 deletions

View File

@@ -267,7 +267,7 @@ static int lookupName(
int hit = 0;
pEList = pItem->pSelect->pEList;
for(j=0; j<pEList->nExpr; j++){
if( sqlite3MatchSpanName(pEList->a[j].zSpan, zCol, zTab, zDb) ){
if( sqlite3MatchSpanName(pEList->a[j].zEName, zCol, zTab, zDb) ){
cnt++;
cntTab = 2;
pMatch = pItem;