aboutsummaryrefslogtreecommitdiff
path: root/src/select.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/select.c')
-rw-r--r--src/select.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/select.c b/src/select.c
index a5377a2c2..f63ca06f4 100644
--- a/src/select.c
+++ b/src/select.c
@@ -6417,7 +6417,7 @@ int sqlite3Select(
struct AggInfo_col *pCol = &sAggInfo.aCol[i];
if( pCol->iSorterColumn>=j ){
int r1 = j + regBase;
- sqlite3ExprCodeGetColumnOfTable(v,
+ sqlite3ExprCodeGetColumnOfTable(pParse,
pCol->pTab, pCol->iTable, pCol->iColumn, r1);
j++;
}