summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2006-08-15 12:19:46 +0000
committerAntony Dovgal <tony2001@php.net>2006-08-15 12:19:46 +0000
commit8c170d480a3e14e0c61e2ab8d7dff7043127615b (patch)
tree494026790a56811dd1a9c45b16d932976f0b06ac
parent4ad05e0e0fde74da4226f47ca241f4ab5c2f055a (diff)
downloadphp-git-8c170d480a3e14e0c61e2ab8d7dff7043127615b.tar.gz
MFH: OCIBreak() is not supported on Windows
-rw-r--r--ext/oci8/oci8.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/ext/oci8/oci8.c b/ext/oci8/oci8.c
index feea76b7bb..220dea76c1 100644
--- a/ext/oci8/oci8.c
+++ b/ext/oci8/oci8.c
@@ -1755,14 +1755,7 @@ static int php_oci_persistent_helper(zend_rsrc_list_entry *le TSRMLS_DC)
if (connection->used_this_request) {
if ((PG(connection_status) & PHP_CONNECTION_TIMEOUT)) {
- /* call OCIBreak() on timeout to avoid appearance of deadlocked persistent connections */
- connection->errcode = PHP_OCI_CALL(OCIBreak, (connection->svc, connection->err));
- if (connection->errcode != OCI_SUCCESS) {
- php_oci_error(connection->err, connection->errcode TSRMLS_CC);
- PHP_OCI_HANDLE_ERROR(connection, connection->errcode);
- /* OCIBreak() failed. delete the connection */
- return 1;
- }
+ return 1;
}
if (connection->descriptors) {