diff options
author | Thies C. Arntzen <thies@php.net> | 1999-12-08 14:04:55 +0000 |
---|---|---|
committer | Thies C. Arntzen <thies@php.net> | 1999-12-08 14:04:55 +0000 |
commit | 40340b5aa049c31d775dd5322a485b8b65d6636b (patch) | |
tree | 11672cfc4f6b33181bb87c5717fc0c4779672ab7 | |
parent | 208696f48915e57ba64361cc14de0b5f21ff3a8f (diff) | |
download | php-git-40340b5aa049c31d775dd5322a485b8b65d6636b.tar.gz |
@- OCI8 now returns NULL values in LONG columns correct. (Thies)
-rw-r--r-- | ext/oci8/oci8.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/oci8/oci8.c b/ext/oci8/oci8.c index ec5680401e..d752400fec 100644 --- a/ext/oci8/oci8.c +++ b/ext/oci8/oci8.c @@ -329,7 +329,7 @@ PHP_MINIT_FUNCTION(oci) 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 @@ oci_fetch(oci_statement *statement, ub4 nrows, char *func) ((char*)column->data) + column->retlen4, &(column->cb_retlen), OCI_NEXT_PIECE, - NULL, - NULL); + &column->indicator, + &column->retcode); } } |