Skip to content

Commit 43289d6

Browse files
committed
Remove obsolete flag
1 parent ca4d122 commit 43289d6

File tree

4 files changed

+1
-11
lines changed

4 files changed

+1
-11
lines changed

ext/oci8/oci8.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1306,7 +1306,6 @@ PHP_MINIT_FUNCTION(oci)
13061306

13071307
PHP_RINIT_FUNCTION(oci)
13081308
{
1309-
OCI_G(debug_mode) = 0; /* start "fresh" */
13101309
OCI_G(num_links) = OCI_G(num_persistent);
13111310
OCI_G(errcode) = 0;
13121311
OCI_G(edition) = NULL;

ext/oci8/oci8_interface.c

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1308,12 +1308,7 @@ PHP_FUNCTION(oci_field_is_null)
13081308
Toggle internal debugging output for the OCI extension */
13091309
PHP_FUNCTION(oci_internal_debug)
13101310
{
1311-
zend_bool on_off;
1312-
1313-
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "b", &on_off) == FAILURE) {
1314-
return;
1315-
}
1316-
OCI_G(debug_mode) = on_off;
1311+
/* NOP in OCI8 2.0. Obsoleted by DTrace probes */
13171312
}
13181313
/* }}} */
13191314

ext/oci8/php_oci8_int.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -496,8 +496,6 @@ ZEND_BEGIN_MODULE_GLOBALS(oci) /* {{{ Module globals */
496496
sb4 errcode; /* global last ORA- error number. Used when connect fails, for example */
497497
OCIError *err; /* global error handle */
498498

499-
zend_bool debug_mode; /* debug mode flag */
500-
501499
long max_persistent; /* maximum number of persistent connections per process */
502500
long num_persistent; /* number of existing persistent connections */
503501
long num_links; /* non-persistent + persistent connections */

ext/oci8/tests/function_aliases.phpt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,6 @@ NULL
104104

105105
Warning: ocifreestatement() expects exactly 1 parameter, 0 given in %s on line %d
106106
NULL
107-
108-
Warning: ociinternaldebug() expects exactly 1 parameter, 0 given in %s on line %d
109107
NULL
110108

111109
Warning: ocinumcols() expects exactly 1 parameter, 0 given in %s on line %d

0 commit comments

Comments
 (0)