didou Mon Jan 3 05:23:29 2005 EDT
Modified files:
/phpdoc/en/reference/oci8/functions oci-new-descriptor.xml
Log:
fix #31386: wrong function called
http://cvs.php.net/diff.php/phpdoc/en/reference/oci8/functions/oci-new-descriptor.xml?r1=1.5&r2=1.6&ty=u
Index: phpdoc/en/reference/oci8/functions/oci-new-descriptor.xml
diff -u phpdoc/en/reference/oci8/functions/oci-new-descriptor.xml:1.5
phpdoc/en/reference/oci8/functions/oci-new-descriptor.xml:1.6
--- phpdoc/en/reference/oci8/functions/oci-new-descriptor.xml:1.5 Fri Nov
12 06:02:29 2004
+++ phpdoc/en/reference/oci8/functions/oci-new-descriptor.xml Mon Jan 3
05:23:28 2005
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
<refentry id="function.oci-new-descriptor">
<refnamediv>
<refname>oci_new_descriptor</refname>
@@ -82,7 +82,7 @@
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);
+ oci_commit($conn);
echo "Blob successfully uploaded\n";
}else{
echo "Couldn't upload Blob\n";