I understand the need for integrity when locking a database, but in this case I 
knew that the problem was caused by a (in all honesty, my) bug.  I tried 
rebooting the machine and it did not unlock the table.  

So I guess that means that the answer is "no."

R,
John

> -----Original Message-----
> From: sqlite-users-boun...@sqlite.org [mailto:sqlite-users-boun...@sqlite.org]
> On Behalf Of Roger Binns
> Sent: Saturday, May 28, 2011 11:21 AM
> To: sqlite-users@sqlite.org
> Subject: Re: [sqlite] Unlocking the database
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On 05/28/2011 09:02 AM, john darnell wrote:
> > Is there a function, method or process whereby I can unlock the database 
> > when
> it gets locked?
> 
> It is locked by another connection or process and you can't ask them to give
> up locks using the SQLite API.  The point of locking is to ensure the
> integrity of the database.
> 
> Killing the processes or rebooting your machine will get them to relinquish
> their locks.
> 
> Roger
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (GNU/Linux)
> 
> iEYEARECAAYFAk3hIMoACgkQmOOfHg372QQQpQCffw7BQCU9QcdoGEcvcd9
> mzlQJ
> ev8An0ZsjWk5UtyhU1qvdoTmoJzBqGLS
> =EE7V
> -----END PGP SIGNATURE-----
> _______________________________________________
> sqlite-users mailing list
> sqlite-users@sqlite.org
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to