ID: 37475 Updated by: [EMAIL PROTECTED] Reported By: emmanuel dot chauvet at sitel-fr dot com -Status: Closed +Status: Bogus Bug Type: OCI8 related Operating System: Linux 2.6.12 PHP Version: 5.1.4
Previous Comments: ------------------------------------------------------------------------ [2006-05-17 12:48:53] emmanuel dot chauvet at sitel-fr dot com Advanced search tool was not working. Bogus already submitted. I close the submit ------------------------------------------------------------------------ [2006-05-17 12:42:39] emmanuel dot chauvet at sitel-fr dot com Description: ------------ Since 5.1.2 -> 5.1.4 migration, we have a bug in the oci8 functions when we want to display Oracle LOB. Source code is working for 5.1.2 , not any more for 5.1.4 version. Reproduce code: --------------- $sql = "SELECT TEMPLATEID, LABEL, DESCRIPTION, HTML, TXT, CONTENTTYPE, BIN FROM TEMPLATECONTENT WHERE TEMPLATEID='301' AND LOCALE='fr_FR'"; $stmt = oci_parse( $conn, $sql ); oci_execute( $stmt ); while( $row = oci_fetch_row( $stmt ) ) { $reponse_type[2] = $row[2]->load(); } Expected result: ---------------- Expects the content of the oracle lob 5.1.2 version -> content displayed OK 5.1.4 version -> no content displayed ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=37475&edit=1