summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Sautins <asautins@php.net>2001-06-06 00:08:21 +0000
committerAndy Sautins <asautins@php.net>2001-06-06 00:08:21 +0000
commitc3106f4c3e89642d78e785fdb11e720b7937c897 (patch)
tree985887a10156c3ce18cd4e955e81578bb3dd04df
parent3acd77576efe498696b6c83242af69a8d9d2ee2d (diff)
downloadphp-git-c3106f4c3e89642d78e785fdb11e720b7937c897.tar.gz
Change OCIFreeColl to OCIFreeCollection for consistency
with OCINewCursor/OCIFreeCursor
-rw-r--r--ext/oci8/oci8.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/ext/oci8/oci8.c b/ext/oci8/oci8.c
index 331ec4cc30..17365e7512 100644
--- a/ext/oci8/oci8.c
+++ b/ext/oci8/oci8.c
@@ -221,7 +221,7 @@ PHP_FUNCTION(ocicloselob);
#endif
#ifdef WITH_COLLECTIONS
PHP_FUNCTION(ocinewcollection);
-PHP_FUNCTION(ocifreecoll);
+PHP_FUNCTION(ocifreecollection);
PHP_FUNCTION(ocicollappend);
PHP_FUNCTION(ocicollgetelem);
PHP_FUNCTION(ocicollassignelem);
@@ -309,7 +309,7 @@ static zend_function_entry php_oci_functions[] = {
PHP_FE(ocinewdescriptor, NULL)
PHP_FE(ocisetprefetch, NULL)
#ifdef WITH_COLLECTIONS
- PHP_FE(ocifreecoll, NULL)
+ PHP_FE(ocifreecollection,NULL)
PHP_FE(ocicollappend, NULL)
PHP_FE(ocicollgetelem, NULL)
PHP_FE(ocicollassignelem,NULL)
@@ -347,7 +347,7 @@ static zend_function_entry php_oci_coll_class_functions[] = {
PHP_FALIAS(size, ocicollsize, NULL)
PHP_FALIAS(max, ocicollmax, NULL)
PHP_FALIAS(trim, ocicolltrim, NULL)
- PHP_FALIAS(free, ocifreecoll, NULL)
+ PHP_FALIAS(free, ocifreecollection, NULL)
{NULL,NULL,NULL}
};
#endif
@@ -4293,10 +4293,10 @@ static oci_collection *oci_get_coll(int ind)
-/* {{{ proto string ocifreecoll(object lob)
+/* {{{ proto string ocifreecollection(object lob)
Deletes collection object*/
-PHP_FUNCTION(ocifreecoll)
+PHP_FUNCTION(ocifreecollection)
{
zval *id;
int inx;
@@ -4312,7 +4312,7 @@ PHP_FUNCTION(ocifreecoll)
*
*/
connection = coll->conn;
- oci_debug("OCIfreecoll: coll=%d",inx);
+ oci_debug("OCIfreecollection: coll=%d",inx);
connection->error = OCIObjectFree(OCI(pEnv),
connection->pError,
(dvoid *)coll->coll,