aboutsummaryrefslogtreecommitdiff
path: root/src/resolve.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2019-12-12 22:11:33 +0000
committerdrh <drh@noemail.net>2019-12-12 22:11:33 +0000
commitcbb9da337e7f8dc4e6bea59399a0394ec390f1f2 (patch)
tree9e2fc1883495a5eeb3e2ad2e5167486fd567afed /src/resolve.c
parentc947d6a4dcdfe6f0185a22464cf97153cabb8052 (diff)
downloadsqlite-cbb9da337e7f8dc4e6bea59399a0394ec390f1f2.tar.gz
sqlite-cbb9da337e7f8dc4e6bea59399a0394ec390f1f2.zip
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
Diffstat (limited to 'src/resolve.c')
-rw-r--r--src/resolve.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resolve.c b/src/resolve.c
index b3c331535..cce921031 100644
--- a/src/resolve.c
+++ b/src/resolve.c
@@ -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;