com php-src: missing piece of code from the mainstream: ext/oci8/oci8_statement.c
| From: | Anatol Belski | Date: | Wed, 22 Jan 2014 21:19:02 +0000 |
| Subject: | com php-src: missing piece of code from the mainstream: ext/oci8/oci8_statement.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-75760@lists.php.net to get a copy of this message | ||
Commit: d21056176a4d80fb73984a75f26b67d4dc68ec8e
Author: Anatol Belski <ab@php.net> Wed, 22 Jan 2014 22:19:02 +0100
Parents: 806e540a4f002858298b579fc001b5202fbf6c51
Branches: str_size_and_int64
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=d21056176a4d80fb73984a75f26b67d4dc68ec8e
Log:
missing piece of code from the mainstream
Changed paths:
M ext/oci8/oci8_statement.c
Diff:
diff --git a/ext/oci8/oci8_statement.c b/ext/oci8/oci8_statement.c
index c430593..e0aa538 100644
--- a/ext/oci8/oci8_statement.c
+++ b/ext/oci8/oci8_statement.c
@@ -73,6 +73,12 @@ php_oci_statement *php_oci_statement_create(php_oci_connection *connection, char
OCI_DEFAULT
)
);
+#ifdef HAVE_OCI8_DTRACE
+ if (DTRACE_OCI8_SQLTEXT_ENABLED()) {
+ DTRACE_OCI8_SQLTEXT(connection, connection->client_id, statement, query);
+ }
+#endif /* HAVE_OCI8_DTRACE */
+
if (errstatus != OCI_SUCCESS) {
connection->errcode = php_oci_error(connection->err, errstatus TSRMLS_CC);