summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThies C. Arntzen <thies@php.net>2002-01-30 07:41:04 +0000
committerThies C. Arntzen <thies@php.net>2002-01-30 07:41:04 +0000
commit82a9fc746e126241c2838d0636a15a5d4d9d606a (patch)
treea65b181b3b6c74faa2c6eec8e64524187131950b
parentab0404ffa34302a0521da80821b7966c6825a226 (diff)
downloadphp-git-82a9fc746e126241c2838d0636a15a5d4d9d606a.tar.gz
enable "user-interrupts"
-rw-r--r--ext/oci8/oci8.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/oci8/oci8.c b/ext/oci8/oci8.c
index 98c9dd8783..2f05888107 100644
--- a/ext/oci8/oci8.c
+++ b/ext/oci8/oci8.c
@@ -922,6 +922,10 @@ static ub4
oci_handle_error(oci_connection *connection, ub4 errcode)
{
switch (errcode) {
+ case 1013: /* user requested cancel of current operation */
+ zend_bailout();
+ break;
+
case 22: /* ORA-00022 Invalid session id */
case 1012: /* ORA-01012: */
case 3113: /* ORA-03113: end-of-file on communication channel */