On Fri, Jun 13, 2014 at 1:20 PM, Eric Rubin-Smith <eas....@gmail.com> wrote:
> If I say sqlite_bind_text(...SQLITE_STATIC), I am promising that the buffer > is going to stick around for a while. How long am I promising that it will > stick around? Til the next statement reset()? Til the statement > finalize()? Til the database close()? > Until the parameter you are binding against cannot long be used. Which will be either (1) sqlite3_reset() or (2) sqlite3_finalize() or (3) the next sqlite3_bind() against the same parameter, whichever comes first. > _______________________________________________ > sqlite-users mailing list > sqlite-users@sqlite.org > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users > -- D. Richard Hipp d...@sqlite.org _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users