note 92614 added to features.persistent-connections
| From: | v13 at v13 dot gr | Date: | Fri, 31 Jul 2009 11:17:51 +0000 |
| Subject: | note 92614 added to features.persistent-connections | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-158949@lists.php.net to get a copy of this message | ||
As a reply to "ynzhang from lakeheadu canada": temporary views/tables only live inside a
transaction block and are only visible there. There are two reasons for this not to work as he
describes:
(a) Because each request may end up running by a different server process, thus using a different
connection
(b) All transaction will (should) be commited or rolled-back when a script is ended, unless there is
a "transcation leak" in the script (which is bad). Since a temp only lives inside a
transaction, this commit/rollback will auto-remove the temp table.
All the above are explained in the document.
----
Server IP: 64.71.164.2
Probable Submitter: 188.4.199.17 (proxied: 127.0.0.1)
----
Manual Page -- http://www.php.net/manual/en/features.persistent-connections.php
Edit -- https://master.php.net/note/edit/92614
Del: integrated -- https://master.php.net/note/delete/92614/integrated
Del: useless -- https://master.php.net/note/delete/92614/useless
Del: bad code -- https://master.php.net/note/delete/92614/bad+code
Del: spam -- https://master.php.net/note/delete/92614/spam
Del: non-english -- https://master.php.net/note/delete/92614/non-english
Del: in docs -- https://master.php.net/note/delete/92614/in+docs
Del: other reasons-- https://master.php.net/note/delete/92614
Reject -- https://master.php.net/note/reject/92614
Search -- https://master.php.net/manage/user-notes.php