]> granicus.if.org Git - php/commitdiff
MFH
authorAntony Dovgal <tony2001@php.net>
Mon, 26 Jan 2004 14:04:22 +0000 (14:04 +0000)
committerAntony Dovgal <tony2001@php.net>
Mon, 26 Jan 2004 14:04:22 +0000 (14:04 +0000)
ext/oci8/oci8.c

index 884f7adf49276eb7836f3f58714160d1cb34deaa..830efe70d343b3d88a84c9fc8de30cb38b746647 100644 (file)
@@ -3834,7 +3834,7 @@ PHP_FUNCTION(ocicolumnprecision)
 
 /* }}} */
 
-/* {{{ proto mixed ocicolumntype(int stmt, int col)
+/* {{{ proto int ocicolumntype(int stmt, int col)
    Tell the data type of a column */
 
 PHP_FUNCTION(ocicolumntype)
@@ -4998,7 +4998,7 @@ PHP_FUNCTION(ocicollgetelem)
 
                /* Return null if the value is null */
                if(*elemind == OCI_IND_NULL) {
-                       RETURN_FALSE;
+                       RETURN_NULL();
                } 
 
                switch (coll->element_typecode) {