SQLite Locking

Peter Haworth pete at mollysrevenge.com
Tue Nov 30 19:13:37 EST 2010


Good idea, but it got thrown back with an error.  It's not a valid SQL  
statement, just something the tcl/c api understands I think.  Not a  
big deal though, it's pretty easy to set that timeout loop in within LC.

Pete Haworth

On Nov 30, 2010, at 12:05 PM, Bob Sneidar wrote:

> Did you try to issue this as a query, with and without substituting  
> db1 with your database name?
>
> Bob
>
>
> On Nov 29, 2010, at 4:46 PM, Peter Haworth wrote:
>
>>> db1 timeout 2000
>>> The argument to the timeout method is the maximum number of  
>>> milliseconds to wait for the lock to clear. So in the example  
>>> above, the maximum delay would be 2 seconds.
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>





More information about the use-livecode mailing list