Steinar Midtskogen wrote:
Is it safe to assume that the object pointed to by
sqlite3_column_value() will exist until sqlite3_finalize() is called?
Or will it only be valid until the next call to sqlite3_step()?

From the API doc titled "Result Values From A Query":
The pointers returned are valid until a type conversion occurs as described above, or until sqlite3_step() or sqlite3_reset() or sqlite3_finalize() is called.

Your assumption is therefor not safe.
--
Larry Brasfield
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to