aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordan <Dan Kennedy>2024-04-23 11:56:20 +0000
committerdan <Dan Kennedy>2024-04-23 11:56:20 +0000
commit0309fb919aef74ee2df3b87871c43da025cefeb4 (patch)
tree96a5123a13b183d3640538b49de313f3c3fe460c /src
parent5749e1ee4386a2a6c436dfeb45770f8352abdb65 (diff)
downloadsqlite-0309fb919aef74ee2df3b87871c43da025cefeb4.tar.gz
sqlite-0309fb919aef74ee2df3b87871c43da025cefeb4.zip
Fix an uninitialized variable problem in the new code on this branch.
FossilOrigin-Name: 85625b38718c6e4cf7aa97fa3c52153bd25c810b68f19e7924e1f4b709c6a05d
Diffstat (limited to 'src')
-rw-r--r--src/where.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/where.c b/src/where.c
index 96a6df9de..38cf6b728 100644
--- a/src/where.c
+++ b/src/where.c
@@ -323,6 +323,7 @@ static SQLITE_NOINLINE const char *indexInAffinityOk(
if( sqlite3ExprIsVector(pX->pLeft) ){
int iField = pTerm->u.x.iField - 1;
+ inexpr.flags = 0;
inexpr.op = TK_EQ;
inexpr.pLeft = pX->pLeft->x.pList->a[iField].pExpr;
assert( ExprUseXSelect(pX) );