Re: Oracle patch
| From: | thies at digicol dot de | Date: | Mon, 10 Jul 2000 11:29:40 +0000 |
| Subject: | Re: Oracle patch | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-24051@lists.php.net to get a copy of this message | ||
On Mon, Jul 10, 2000 at 03:23:38PM +0400, Kirill Maximov wrote:
>
> 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.
please post them here.
thanx,
tc
>
> Best regards,
> KIR
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
> For additional commands, e-mail: php-dev-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
--
Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!"
Digital Collections Phone +49 40 235350 Fax +49 40 23535180
Hammerbrookstr. 93 20097 Hamburg / Germany