you are probably missing to finalize the statement prior calling sqlite3_close(). additionally you may check the return value of sqlite3_close() - it will tell you something.
marcus Am 16.11.2015 um 12:02 schrieb Nader Lavasani: > Hi all, > > This happened in iOS with Objective-C language. > > When we open a database(sqlite3_open()), that creates a fd(file descriptor) > and when we close the database(sqlite3_close()) that only close connection > and fd remain open.so when user open and close many db(or one db for many > time) so many fds remain open and when fds reach to 255, app not opening > any file or db. > > this is disclosure video : https://www.youtube.com/watch?v=uvKwko4LhWo > > > Bug? or my silly mistake?! > > > Thanks > _______________________________________________ > sqlite-users mailing list > sqlite-users at mailinglists.sqlite.org > http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users >