SQLite error: 'database table is locked'
Hello
I am getting the following error when trying to insert a row into my database:
SQLite error: 'database table is locked'
Sometimes this works, sometimes i get that error.
The table is called 'function' and i had an instance of it opened, so I closed it right before i call the insert, but I still get the locking problem.
How can i fix this?
Thanks!
Tjeu
1 Answer
-
Found the error, I had an open connection to the database on the previous page. When I closed that it was fixed.