Mihai Limbasan wrote:
Hello there.
I've re-read your mail a few times, however you seem to have forgotten
to actually *ask the question.*
On a sidenote, though: You're storing the database connection in a
local variable (sqlSt) instead of returning it - so when you return
from the function, you've opened a connection but have lost the
reference to it so you have no way to close it, thus you've created a
memory leak. Is that what you want?
Ugh, never mind, that was a big "I wasn't thinking" instance - shouldn't
write stuff after 10 pm...
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users