irchtml Mon Mar 29 02:22:23 2004 EDT
Modified files:
/phpdoc/en/reference/oci8/functions oci-new-descriptor.xml
Log:
bug #27745: call-time reference not needed
http://cvs.php.net/diff.php/phpdoc/en/reference/oci8/functions/oci-new-descriptor.xml?r1=1.2&r2=1.3&ty=u
Index: phpdoc/en/reference/oci8/functions/oci-new-descriptor.xml
diff -u phpdoc/en/reference/oci8/functions/oci-new-descriptor.xml:1.2
phpdoc/en/reference/oci8/functions/oci-new-descriptor.xml:1.3
--- phpdoc/en/reference/oci8/functions/oci-new-descriptor.xml:1.2 Mon Mar 8
11:49:36 2004
+++ phpdoc/en/reference/oci8/functions/oci-new-descriptor.xml Mon Mar 29 02:22:23
2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<refentry id="function.oci-new-descriptor">
<refnamediv>
<refname>oci_new_descriptor</refname>
@@ -79,7 +79,7 @@
$lob = oci_new_descriptor($conn, OCI_D_LOB);
$stmt = oci_parse($conn, "insert into $table (id, the_blob)
values(my_seq.NEXTVAL, EMPTY_BLOB()) returning the_blob into
:the_blob");
- oci_bind_by_name($stmt, ':the_blob', &$lob, -1, OCI_B_BLOB);
+ oci_bind_by_name($stmt, ':the_blob', $lob, -1, OCI_B_BLOB);
oci_execute($stmt, OCI_DEFAULT);
if ($lob->savefile($lob_upload)){
oci_execute($conn);