diff options
author | drh <drh@noemail.net> | 2011-05-31 11:56:15 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2011-05-31 11:56:15 +0000 |
commit | a80a141247a233e71d0adc29244096eebf3204f0 (patch) | |
tree | 52fab08315e03b114e1b0237aaa498a5570e63cc /src | |
parent | c3f1d5f0958df10afadc10cd24ea1fb1d7003dfb (diff) | |
download | sqlite-a80a141247a233e71d0adc29244096eebf3204f0.tar.gz sqlite-a80a141247a233e71d0adc29244096eebf3204f0.zip |
Update the documentation to state that any parameter that is optimized out
of a prepared statement becomes an anonymous parameter for which
sqlite3_bind_parameter_name() returns NULL.
FossilOrigin-Name: 701b8a23e3ea2c94454af5d9bd1e72acb66d0fe2
Diffstat (limited to 'src')
-rw-r--r-- | src/sqlite.h.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sqlite.h.in b/src/sqlite.h.in index 445a247a1..a9d60e8a2 100644 --- a/src/sqlite.h.in +++ b/src/sqlite.h.in @@ -3068,6 +3068,8 @@ int sqlite3_bind_parameter_count(sqlite3_stmt*); ** is included as part of the name.)^ ** ^Parameters of the form "?" without a following integer have no name ** and are referred to as "nameless" or "anonymous parameters". +** ^Any parameter that is optimized out of the prepared statement by the +** query planner becomes a nameless or anonymous parameter. ** ** ^The first host parameter has an index of 1, not 0. ** |