timeout parameter

Andy Chambers <andychambers2002-/[email protected]>
Newsgroups gmane.comp.python.db.pysqlite.user
Message-ID <[email protected]>
How exactly does the timeout parameter work?  I wrote up
a small test script that simply tries to update a table
that is being locked by another process.  I expected the
script to fail after about 5 seconds since the documentation
says that the timeout is the period of time pysqlite should
wait before raising an exception if the databse is locked.
What actually happens is that the script fails immediately
throwing an OperationalError.

Many Thanks,
Andy



		
___________________________________________________________ 
Yahoo! Photos – NEW, now offering a quality print service from just 8p a photo http://uk.photos.yahoo.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.