note 110021 added to function.chdb-create
| From: | jille at hexon dot cx | Date: | Wed, 12 Sep 2012 14:39:55 +0000 |
| Subject: | note 110021 added to function.chdb-create | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-190655@lists.php.net to get a copy of this message | ||
Please keep in mind that you shouldn't write to a database that is being actively used. If
another process is currently reading the database it might crash.
A safe way to update your database is:
<?php
chdb_create('tmp.db', $data);
rename('tmp.db', 'database.db');
?>
----
Server IP: 91.199.167.223
Probable Submitter: 82.93.241.107
----
Manual Page -- http://www.php.net/manual/en/function.chdb-create.php
Edit -- https://master.php.net/note/edit/110021
Del: integrated -- https://master.php.net/note/delete/110021/integrated
Del: useless -- https://master.php.net/note/delete/110021/useless
Del: bad code -- https://master.php.net/note/delete/110021/bad+code
Del: spam -- https://master.php.net/note/delete/110021/spam
Del: non-english -- https://master.php.net/note/delete/110021/non-english
Del: in docs -- https://master.php.net/note/delete/110021/in+docs
Del: other reasons-- https://master.php.net/note/delete/110021
Reject -- https://master.php.net/note/reject/110021
Search -- https://master.php.net/manage/user-notes.php