diff options
author | Thies C. Arntzen <thies@php.net> | 2002-10-21 11:00:40 +0000 |
---|---|---|
committer | Thies C. Arntzen <thies@php.net> | 2002-10-21 11:00:40 +0000 |
commit | 31e4d623782810bad850bd00fc3b62a90f5a4794 (patch) | |
tree | 5a4caeae48e64fb83c47a316161c8cb159958203 | |
parent | 4eadff22331dd0661620391304811f57dc1160f9 (diff) | |
download | php-git-31e4d623782810bad850bd00fc3b62a90f5a4794.tar.gz |
#19948
-rw-r--r-- | ext/oci8/oci8.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/oci8/oci8.c b/ext/oci8/oci8.c index 6585656d60..84e2a89960 100644 --- a/ext/oci8/oci8.c +++ b/ext/oci8/oci8.c @@ -1823,6 +1823,8 @@ oci_fetch(oci_statement *statement, ub4 nrows, char *func TSRMLS_DC) } if (statement->error == OCI_SUCCESS_WITH_INFO || statement->error == OCI_SUCCESS) { + statement->has_data = 1; + /* do the stuff needed for OCIDefineByName */ for (i = 0; i < statement->ncolumns; i++) { column = oci_get_col(statement, i + 1, 0); @@ -1838,8 +1840,6 @@ oci_fetch(oci_statement *statement, ub4 nrows, char *func TSRMLS_DC) _oci_make_zval(column->define->zval,statement,column,"OCIFetch",0 TSRMLS_CC); } - statement->has_data = 1; - return 1; } |