aboutsummaryrefslogtreecommitdiff
path: root/src/sqliteInt.h
diff options
context:
space:
mode:
authordrh <>2021-07-05 01:11:26 +0000
committerdrh <>2021-07-05 01:11:26 +0000
commit10f08270e11937aa43ef62fcfb0f9650a7eb4deb (patch)
tree8e1f84d230a32e95249c65f7aec292b738988c0c /src/sqliteInt.h
parent105c4b5cedea28a1d06f5331b64b002ebda0e93b (diff)
downloadsqlite-10f08270e11937aa43ef62fcfb0f9650a7eb4deb.tar.gz
sqlite-10f08270e11937aa43ef62fcfb0f9650a7eb4deb.zip
Ensure that TK_SELECT_COLUMN Expr nodes always have their iTable field set to
to the number of columns in the vector. This is not strictly necessary. It just simplifies the state description and make the code easier to reason about. FossilOrigin-Name: 026f08d4cff19a95e0f38f2ef431cacd65c7c77ed92e30d7f2ded84651f47150
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r--src/sqliteInt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h
index 6906d7ed5..fea5ddd3a 100644
--- a/src/sqliteInt.h
+++ b/src/sqliteInt.h
@@ -5191,7 +5191,7 @@ int sqlite3DbstatRegister(sqlite3*);
int sqlite3ExprVectorSize(Expr *pExpr);
int sqlite3ExprIsVector(Expr *pExpr);
Expr *sqlite3VectorFieldSubexpr(Expr*, int);
-Expr *sqlite3ExprForVectorField(Parse*,Expr*,int);
+Expr *sqlite3ExprForVectorField(Parse*,Expr*,int,int);
void sqlite3VectorErrorMsg(Parse*, Expr*);
#ifndef SQLITE_OMIT_COMPILEOPTION_DIAGS