Dear Friends,
So SQLITE_STATIC is meant to be used for data that is static. However,
would it still be safe when it is used with data that expires after the
sqlite3_step() function?
For example:
string hello = hello world;
sqlite3_bind(statement, 1, hello.c_str(), hello.size(), SQLITE_STATIC);
On Wed, Aug 01, 2012 at 08:49:19PM +1000, Yose Widjaja scratched on the wall:
Dear Friends,
So SQLITE_STATIC is meant to be used for data that is static. However,
would it still be safe when it is used with data that expires after the
sqlite3_step() function?
For example:
string hello
...@sqlite.org]
On Behalf Of Jay A. Kreibich
Sent: Wednesday, August 01, 2012 12:16 PM
To: General Discussion of SQLite Database
Cc: c...@iki.fi
Subject: Re: [sqlite] SQLITE_STATIC and temporary data
On Wed, Aug 01, 2012 at 08:49:19PM +1000, Yose Widjaja scratched on the wall:
Dear Friends,
So
Jay A. Kreibich wrote:
On Wed, Aug 01, 2012 at 08:49:19PM +1000, Yose Widjaja scratched on the wall:
Dear Friends,
So SQLITE_STATIC is meant to be used for data that is static. However,
would it still be safe when it is used with data that expires after the
sqlite3_step() function?
For
, August 01, 2012 12:16 PM
To: General Discussion of SQLite Database
Cc: c...@iki.fi
Subject: Re: [sqlite] SQLITE_STATIC and temporary data
On Wed, Aug 01, 2012 at 08:49:19PM +1000, Yose Widjaja scratched on the wall:
Dear Friends,
So SQLITE_STATIC is meant to be used for data