aboutsummaryrefslogtreecommitdiff
path: root/src/sqliteInt.h
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2016-10-03 15:28:24 +0000
committerdrh <drh@noemail.net>2016-10-03 15:28:24 +0000
commitde25a88c507fcd9e60defde4974805ae71a74bc6 (patch)
tree184c7b913afc83dfebe0e7654034d06f0e9f96ab /src/sqliteInt.h
parent87c05f0c58b113fbc51b5e3f3a1ca3ce88430a81 (diff)
downloadsqlite-de25a88c507fcd9e60defde4974805ae71a74bc6.tar.gz
sqlite-de25a88c507fcd9e60defde4974805ae71a74bc6.zip
Avoid unnecessary strlen() calls in sqlite3ExprAssignVarNumber() by passing in
the token length from the parser. FossilOrigin-Name: d15ae2e530cffea60263f203ac5f89b6790f4bd5
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 fade8a34d..2d13f2635 100644
--- a/src/sqliteInt.h
+++ b/src/sqliteInt.h
@@ -3555,7 +3555,7 @@ Expr *sqlite3PExpr(Parse*, int, Expr*, Expr*, const Token*);
void sqlite3PExprAddSelect(Parse*, Expr*, Select*);
Expr *sqlite3ExprAnd(sqlite3*,Expr*, Expr*);
Expr *sqlite3ExprFunction(Parse*,ExprList*, Token*);
-void sqlite3ExprAssignVarNumber(Parse*, Expr*);
+void sqlite3ExprAssignVarNumber(Parse*, Expr*, u32);
void sqlite3ExprDelete(sqlite3*, Expr*);
ExprList *sqlite3ExprListAppend(Parse*,ExprList*,Expr*);
ExprList *sqlite3ExprListAppendVector(Parse*,ExprList*,IdList*,Expr*);