From: Thies C. Arntzen Date: Wed, 30 Jan 2002 07:41:04 +0000 (+0000) Subject: enable "user-interrupts" X-Git-Tag: PRE_ISSET_PATCH~51 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=82a9fc746e126241c2838d0636a15a5d4d9d606a;p=php enable "user-interrupts" --- 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 */