diff options
author | drh <drh@noemail.net> | 2011-06-01 18:15:55 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2011-06-01 18:15:55 +0000 |
commit | 124c0b49a19ce24302c6594e60c80c7ba4df6c98 (patch) | |
tree | 5066d410d5c3c2a95b66023abfcd1af829c4d160 /src/sqliteInt.h | |
parent | ed9624187d89a96e591353a7bdee53b292e6f849 (diff) | |
download | sqlite-124c0b49a19ce24302c6594e60c80c7ba4df6c98.tar.gz sqlite-124c0b49a19ce24302c6594e60c80c7ba4df6c98.zip |
Refactor the SQL parameter processing so that parameter names for values
that are optimized out of the prepare statement are not forgotten.
FossilOrigin-Name: b3aaf715b60b8a338cc6c92dad1ead4a3f7146a3
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r-- | src/sqliteInt.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h index bba0b3c44..fd86158e0 100644 --- a/src/sqliteInt.h +++ b/src/sqliteInt.h @@ -2230,9 +2230,8 @@ struct Parse { ** each recursion */ int nVar; /* Number of '?' variables seen in the SQL so far */ - int nVarExpr; /* Number of used slots in apVarExpr[] */ - int nVarExprAlloc; /* Number of allocated slots in apVarExpr[] */ - Expr **apVarExpr; /* Pointers to :aaa and $aaaa wildcard expressions */ + int nzVar; /* Number of available slots in azVar[] */ + char **azVar; /* Pointers to names of parameters */ Vdbe *pReprepare; /* VM being reprepared (sqlite3Reprepare()) */ int nAlias; /* Number of aliased result set columns */ int nAliasAlloc; /* Number of allocated slots for aAlias[] */ |