cvs: /php4/ext/oci8 oci8.c
| From: | Thies C. Arntzen | Date: | Wed, 08 Dec 1999 14:05:26 +0000 |
| Subject: | cvs: /php4/ext/oci8 oci8.c | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-7670@lists.php.net to get a copy of this message | ||
thies Wed Dec 8 09:05:26 1999 EDT
Modified files:
/php4/ext/oci8 oci8.c
Log:
@- OCI8 now returns NULL values in LONG columns correct. (Thies)
Index: php4/ext/oci8/oci8.c
diff -u php4/ext/oci8/oci8.c:1.41 php4/ext/oci8/oci8.c:1.42
--- php4/ext/oci8/oci8.c:1.41 Sat Dec 4 14:15:56 1999
+++ php4/ext/oci8/oci8.c Wed Dec 8 09:04:55 1999
@@ -22,7 +22,7 @@
#define OCI_USE_EMALLOC 0 /* set this to 1 if you want to use the php memory manager! */
-/* $Id: oci8.c,v 1.41 1999/12/04 19:15:56 sas Exp $ */
+/* $Id: oci8.c,v 1.42 1999/12/08 14:04:55 thies Exp $ */
/* TODO list:
*
@@ -329,7 +329,7 @@
ELS_FETCH();
#ifdef ZTS
- oci_globals_id = ts_allocate_id(sizeof(php_oci_globals), php_oci_init_globals, NULL);
+ oci_globals_id = ts_allocate_id(sizeof(php_oci_globals), (ts_allocate_ctor) php_oci_init_globals,
NULL);
#else
OCI(user_num) = 1000;
OCI(server_num) = 2000;
@@ -1314,8 +1314,8 @@
((char*)column->data) + column->retlen4,
&(column->cb_retlen),
OCI_NEXT_PIECE,
- NULL,
- NULL);
+ &column->indicator,
+ &column->retcode);
}
}