From 82a9fc746e126241c2838d0636a15a5d4d9d606a Mon Sep 17 00:00:00 2001 From: "Thies C. Arntzen" Date: Wed, 30 Jan 2002 07:41:04 +0000 Subject: [PATCH] enable "user-interrupts" --- ext/oci8/oci8.c | 4 ++++ 1 file changed, 4 insertions(+) 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 */ -- 2.50.1