|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-05-27 23:07 UTC] krastin dot georgiev at gmail dot com
[2009-05-28 18:47 UTC] sixd@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Dec 03 07:00:01 2025 UTC |
Description: ------------ When doing a call across a database link Oracle throws a warning immediately. Compiled using different versions of Oracle instant client and OCI versions. Instant Client versions: 10.2.0.3 10.2.0.4 11.1.0.7.0 OCI versions: 1.2.5 1.3.4 1.3.5 It is important to note that using 1.2.5 on Windows (precompiled) does NOT cause this warning. This is only a problem under Linux. Reproduce code: --------------- <?php $conn = OCILogon("user", "pass", "//192.168.100.15/mysid"); $sql = 'SELECT * FROM DYN_AUDIT_REP@REMOTEDB'; $stmt = oci_parse($conn, $sql); $res = oci_execute($stmt); if(is_array($res)) { while ($r = oci_fetch_assoc($res)) { print_r($r); echo "<br>"; } } // end if OCILogoff($conn); ?> Expected result: ---------------- Warning: oci_execute() [function.oci-execute]: ORA-01821: date format not recognized ORA-02063: preceding line from MUREXDM in /home/myself/proc.php on line 7