Re: [sqlite] lifetime of buffer referred to with SQLITE_STATIC

2014-06-13 Thread Igor Tandetnik
On 6/13/2014 1:27 PM, Richard Hipp wrote: On Fri, Jun 13, 2014 at 1:20 PM, Eric Rubin-Smith 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

Re: [sqlite] lifetime of buffer referred to with SQLITE_STATIC

2014-06-13 Thread Richard Hipp
On Fri, Jun 13, 2014 at 1:20 PM, Eric Rubin-Smith 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

Re: [sqlite] lifetime of buffer referred to with SQLITE_STATIC

2014-06-13 Thread Stephan Beal
On Fri, Jun 13, 2014 at 7:20 PM, Eric Rubin-Smith 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