• Welcome, Guest. Please login.
 
August 26, 2019, 01:17:40 am

News:

Welcome to the SQLitening support forums!


SQLite3 client/server 0002

Started by Paul Squires, September 06, 2007, 08:15:14 pm

Previous topic - Next topic

Paul Squires

Quote from: mikedoty on September 07, 2007, 06:35:59 pm
After running the catalog program noticed the catalog.db3 file cannot be moved.
Does the file need to be closed?  

You will need to shut down the server first because the server is leaving open the connection to the database for performance purposes. Rather than close the database after every connection termination, I am leaving the database open in case a second, third, fourth, etc... connection tries to access the database. In the future, I could certainly add code that polls the connections to see if any have the database in use - if not, then I could close it.