diff options
author | Antony Dovgal <tony2001@php.net> | 2007-06-05 07:49:00 +0000 |
---|---|---|
committer | Antony Dovgal <tony2001@php.net> | 2007-06-05 07:49:00 +0000 |
commit | ecd42f97742ecb495f16d586b1f28ce02cf220e8 (patch) | |
tree | bcc1da95af4c4d61adcede0bc1c7276cd07fd7cb /ext | |
parent | 045b283a7d014deb38e7f8763d3ad098efce2afd (diff) | |
download | php-git-ecd42f97742ecb495f16d586b1f28ce02cf220e8.tar.gz |
MFH: fix #41594 (Statement cache is flushed too frequently)
Diffstat (limited to 'ext')
-rw-r--r-- | ext/oci8/oci8_statement.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/oci8/oci8_statement.c b/ext/oci8/oci8_statement.c index 87def8bcd8..672d72f34e 100644 --- a/ext/oci8/oci8_statement.c +++ b/ext/oci8/oci8_statement.c @@ -82,7 +82,7 @@ php_oci_statement *php_oci_statement_create (php_oci_connection *connection, cha php_oci_error(connection->err, connection->errcode TSRMLS_CC); #if HAVE_OCI_STMT_PREPARE2 - PHP_OCI_CALL(OCIStmtRelease, (statement->stmt, statement->err, NULL, 0, OCI_STRLS_CACHE_DELETE)); + PHP_OCI_CALL(OCIStmtRelease, (statement->stmt, statement->err, NULL, 0, OCI_DEFAULT)); PHP_OCI_CALL(OCIHandleFree,(statement->err, OCI_HTYPE_ERROR)); #else PHP_OCI_CALL(OCIHandleFree,(statement->stmt, OCI_HTYPE_STMT)); @@ -733,7 +733,7 @@ void php_oci_statement_free(php_oci_statement *statement TSRMLS_DC) if (statement->stmt) { #if HAVE_OCI_STMT_PREPARE2 if (statement->last_query_len) { /* FIXME: magical */ - PHP_OCI_CALL(OCIStmtRelease, (statement->stmt, statement->err, NULL, 0, OCI_STRLS_CACHE_DELETE)); + PHP_OCI_CALL(OCIStmtRelease, (statement->stmt, statement->err, NULL, 0, OCI_DEFAULT)); } else { PHP_OCI_CALL(OCIHandleFree, (statement->stmt, OCI_HTYPE_STMT)); } |