Oracle patch

From: Date: Mon, 10 Jul 2000 11:23:38 +0000
Subject: Oracle patch
Groups: php.dev 
Request: Send a blank email to php-dev+get-24049@lists.php.net to get a copy of this message
Hello mighty developers, I've prepared a couple of patches that fixes one small problem in Oracle module. The problem is that when connection to Oracle failed, functions ora_error and ora_errorcode don't work (but they should, according to the documetation for ora_logon function). So, the following code doesn't work: $conn = @Ora_PLogon("user/pass@TNSNAME", ""); if (!$conn) { printf("[%s] %s", ora_errorcode($conn), ora_error($conn)); } It will print only "[]". It could be considered as a bug. I've prepared a fix for this problem. Patches are for the current development CVS for PHP3/4. I've tested both of them on my system. Best regards, KIR

« previous php.dev (#24049) next »