Re: [PHP4BETA] MySQL module #2

From: Date: Sat, 04 Sep 1999 15:47:59 +0000
Subject: Re: [PHP4BETA] MySQL module #2
References: 1 2  Groups: php.version4 
Request: Send a blank email to php-version4+get-4082@lists.php.net to get a copy of this message
Zeev Suraski wrote: > >When adding a new persistent connection, the MYSQL struct gets added to > >the persistent list - but not to the 'normal' list (probably > >register_resource does this). In zend_fetch_resource_ex(), only list is > >searched, so unless on request initialization resources from the plist > >are copied over to list, you won't be able to access persistent > >connection data after the request it was created. > > Nothing changed in the logic of that code, only implementation. The > persistent resource methodology introduced in the MySQL module treats > persistent resources (persistent links in this case) just like > non-persistent resources. The only difference is in connect time. > I'm still confused, since I still can't see how and if persistent resources make their way into the global, nonpersistent list - from where zend_fetch_resource_ex gets them.

« previous php.version4 (#4082) next »