On Fri, Jul 26, 2013 at 9:56 PM, Dušan Paulovič <paulo...@gisoft.cz> wrote:
> Thanks for suggestion, but: > 1.) one object is not linked to one connection > If you have your own memory management, it's not a problem since the scheme I described is basically just a storage of pointers. To free or not to free (if the pointer points to a disposable entity) is your decision at your chosen time. But if you want automatic reference counting (so when a pointer not referenced anymore, it would be automatically deallocated), I agree, the proposal is not good. Probably using your own global structure not related to sqlite is less pain. > 2.) object is not destroyed together with connection > The same, you're free to use the table just as pointers storage Max _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users