From c8ffb0ba592b8dd26d086bbf4c4f275f935f5f16 Mon Sep 17 00:00:00 2001 From: "Thies C. Arntzen" Date: Thu, 8 Jun 2000 09:49:31 +0000 Subject: [PATCH] @- Fixed crash in OCIFetchStatement() when trying to read after @ all data has already been read. (Thies) --- ext/oci8/oci8.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ext/oci8/oci8.c b/ext/oci8/oci8.c index 6cb59bea78..5f427d7835 100644 --- a/ext/oci8/oci8.c +++ b/ext/oci8/oci8.c @@ -1477,6 +1477,7 @@ oci_fetch(oci_statement *statement, ub4 nrows, char *func) zend_hash_destroy(statement->columns); efree(statement->columns); statement->columns = 0; + statement->ncolumns = 0; } statement->executed = 0; -- 2.50.1