diff options
author | Antony Dovgal <tony2001@php.net> | 2006-08-22 11:09:12 +0000 |
---|---|---|
committer | Antony Dovgal <tony2001@php.net> | 2006-08-22 11:09:12 +0000 |
commit | 08a9ab02ba56fbf43062073a3749407645698b51 (patch) | |
tree | 6e31d949765451bbbea08186782983971193d6ed /ext/oci8/oci8_interface.c | |
parent | 7dfbf5b2e4dc4030dbbe137e7d4b52f15e43e5bd (diff) | |
download | php-git-08a9ab02ba56fbf43062073a3749407645698b51.tar.gz |
minor improvements
Diffstat (limited to 'ext/oci8/oci8_interface.c')
-rw-r--r-- | ext/oci8/oci8_interface.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/ext/oci8/oci8_interface.c b/ext/oci8/oci8_interface.c index 6964cc3e1a..ce8fafb478 100644 --- a/ext/oci8/oci8_interface.c +++ b/ext/oci8/oci8_interface.c @@ -1636,15 +1636,14 @@ PHP_FUNCTION(oci_parse) php_oci_statement *statement; char *query; int query_len; - zend_bool cached = 0; - if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs|b", &z_connection, &query, &query_len, &cached) == FAILURE) { + if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs", &z_connection, &query, &query_len) == FAILURE) { return; } PHP_OCI_ZVAL_TO_CONNECTION(z_connection, connection); - statement = php_oci_statement_create(connection, query, query_len, cached TSRMLS_CC); + statement = php_oci_statement_create(connection, query, query_len TSRMLS_CC); if (statement) { RETURN_RESOURCE(statement->id); @@ -1748,7 +1747,7 @@ PHP_FUNCTION(oci_new_cursor) PHP_OCI_ZVAL_TO_CONNECTION(z_connection, connection); - statement = php_oci_statement_create(connection, NULL, 0, 0 TSRMLS_CC); + statement = php_oci_statement_create(connection, NULL, 0 TSRMLS_CC); if (statement) { RETURN_RESOURCE(statement->id); |