CVS update: php4/ext/oci8
| From: | thies | Date: | Wed, 09 Jun 1999 19:47:05 +0000 |
| Subject: | CVS update: php4/ext/oci8 | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-1423@lists.php.net to get a copy of this message | ||
Date: Wednesday June 9, 1999 @ 15:47
Author: thies
Update of /repository/php4/ext/oci8
In directory php:/tmp/cvs-serv31288/ext/oci8
Modified Files:
oci8.c
Log Message:
oci8 to 3.0.9
implode works!
Index: php4/ext/oci8/oci8.c
diff -u php4/ext/oci8/oci8.c:1.4 php4/ext/oci8/oci8.c:1.5
--- php4/ext/oci8/oci8.c:1.4 Wed Jun 9 06:40:08 1999
+++ php4/ext/oci8/oci8.c Wed Jun 9 15:47:03 1999
@@ -33,7 +33,7 @@
#define OCI8_USE_EMALLOC 0 /* set this to 1 if you want to use the php memory manager! */
-/* $Id: oci8.c,v 1.4 1999/06/09 10:40:08 thies Exp $ */
+/* $Id: oci8.c,v 1.5 1999/06/09 19:47:03 thies Exp $ */
/* TODO list:
*
@@ -3146,13 +3146,17 @@
php3_error(E_WARNING, "OCIFetchInto: unable to convert arg 2 to array");
RETURN_FALSE;
}
+
+/*
+ array->is_ref = 0;
+ array->refcount = 1;
+*/
}
#if PHP_API_VERSION < 19990421
element = emalloc(sizeof(pval));
#endif
-
for (i = 0; i < statement->ncolumns; i++) {
column = oci8_get_col(statement, i + 1, 0, "OCIFetchInto");
if (column == NULL) { /* should not happen... */
@@ -3165,6 +3169,8 @@
#if PHP_API_VERSION >= 19990421
element = emalloc(sizeof(pval));
+ element->is_ref = 0;
+ element->refcount = 1;
#endif
if ((mode & OCI_NUM) || (! (mode & OCI_ASSOC))) { /* OCI_NUM is default */