On 7/22/19, test user <example.com.use...@gmail.com> wrote:
>
> I think SQLite internally knows how many placeholders are in the query at
> parse time.

SQLite knows the *maximum" placeholder.  If you say:

     INSERT INTO t1(x) VALUES(?100);

Then it allocates an array of 100 placeholders.  It does not know that
the first 99 are unused.

-- 
D. Richard Hipp
d...@sqlite.org
_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to