Durga D <durga.d...@gmail.com> wrote: > What happens if sqlite3_close() called multiple times but > sqlite3_open_v2() called only once.
The first time, you pass a valid database handle to sqlite3_close. The database is closed. The second time, you pass an invalid handle (one that has already been closed). The behavior then is undefined. "No malfunction/corruption" is one of many possible manifestations of undefined behavior. -- Igor Tandetnik _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users