note 114375 added to sqlite3.busytimeout
| From: | ppryor63 at gmail dot com | Date: | Thu, 13 Feb 2014 13:30:53 +0000 |
| Subject: | note 114375 added to sqlite3.busytimeout | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-198497@lists.php.net to get a copy of this message | ||
The busyTimeout() method and related API sqlite3_busy_timeout() is a connection level attribute and
affects whole connection and should be set once after opening connection. Do not set to zero or you
will encounter "Database is busy" error message when calling query, querySingle, prepare,
or execute methods. Also ensure that sqlite3 library is compiled with HAVE_USLEEP defined,
otherwise busyTimeout() can only time out in seconds. It is very highly recommended to call
busyTimeout() with non-zero timeout for reliability in concurrent environment.
----
Server IP: 192.41.45.150
Probable Submitter: 199.200.27.20
----
Manual Page -- http://php.net/manual/en/sqlite3.busytimeout.php
Edit -- https://master.php.net/note/edit/114375
Del: integrated -- https://master.php.net/note/delete/114375/integrated
Del: useless -- https://master.php.net/note/delete/114375/useless
Del: bad code -- https://master.php.net/note/delete/114375/bad+code
Del: spam -- https://master.php.net/note/delete/114375/spam
Del: non-english -- https://master.php.net/note/delete/114375/non-english
Del: in docs -- https://master.php.net/note/delete/114375/in+docs
Del: other reasons-- https://master.php.net/note/delete/114375
Reject -- https://master.php.net/note/reject/114375
Search -- https://master.php.net/manage/user-notes.php