RE: [PHP-DEV] PHP 4.0 Bug #5980: Informix ifx_connect reuses closed connection resource id

From: Date: Sat, 12 Aug 2000 23:25:00 +0000
Subject: RE: [PHP-DEV] PHP 4.0 Bug #5980: Informix ifx_connect reuses closed connection resource id
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-28730@lists.php.net to get a copy of this message
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > >And why is this a problem for you? > > I discovered this problem when I was creating a database and then creating > its tables in the same script. Creating a database has to be done by a DBA > user. Nope. All privileges info in Informix engines is stored in sys* tables. No database, not special users. Everyone who can access the engine can create database and become the owner. > The tables and other objects of the database can be created by any > user. Ooops, nope again. They can be create by DBA and RESOURCE privileged users. I think not everything can be done by RESOURCE. > When I used the same user for both things the connection was reused > but since I was closing and reopening it "it"? You are closing and reopening connection from PHP to Informix. > I encountered the problem. But you did not answer why is it a problem for you? I did not see this as a problem situation, so far? > This problem is still a bug in PHP that needs to be fixed but I am avoiding > it by not closing the connection when the server, database, user and > password are the same. So this won't affect PHP Metabase driver unless you > use more than one Metabase database connection setups which is not usual > and it is not the way Metabase manager class works. Still confused... Yours, Andrej Falout, http://www.falout.com ICQ 7628616 #----------------------------------------------------------------- globals "I_speak_for_myself.4gl" "I didn't know what I was doing. A blood vessel in my brain must have burst" - Chief of police in Hesse, Germany, after he was caught shoplifting ant poison worth a few dollars. -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 6.0.2i iQA/AwUBOZUzzBZH34ibpTRkEQLErQCdGGUwpojHWnHu4N0XOq40oGtYMMgAnRO/ 4uQ0m4kqKuIXNv+9hmojCub6 =EaGN -----END PGP SIGNATURE-----

« previous php.dev (#28730) next »