note 38242 added to function.sqlite-open
| From: | romans at void dot lv | Date: | Sat, 13 Dec 2003 09:57:23 +0000 |
| Subject: | note 38242 added to function.sqlite-open | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-61899@lists.php.net to get a copy of this message | ||
I have been reading about SQLite locking and it don't seem to behave well. it is not possible
to read from database, when other process writes into it. the bad part is sqlite returns error:
#define SQLITE_BUSY 5 /* The database file is locked */
instead of waiting for resource. I wonder how it is implemented in PHP. Is this issue solved? If
not, there is a chance sqlite_open would fail in ANY script with busy error because of PHP have
multiple processes/threads.
Some enlightment note would be useful here.
----
Manual Page -- http://www.php.net/manual/en/function.sqlite-open.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+38242
Delete -- http://master.php.net/manage/user-notes.php?action=delete+38242&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+38242&report=yes
Search -- http://master.php.net/manage/user-notes.php