Re: [PHP4BETA] MySQL module #2

From: Date: Sat, 04 Sep 1999 15:14:53 +0000
Subject: Re: [PHP4BETA] MySQL module #2
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-4079@lists.php.net to get a copy of this message
Zeev Suraski wrote: > > Nobody has replied to the MySQL module testing letter... Did anybody test it? > One person submitted a bug report about it not working at all (not > returning data) - but that's not quite possible, I tested it that much > :) I believe it's a build problem. > I havn't tested the mysql module, but from looking at the source, I doubt that persistent connections work - or I didn't get the resource concept right. 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. -Andreas

« previous php.version4 (#4079) next »