]> granicus.if.org Git - php/commitdiff
enable "user-interrupts"
authorThies C. Arntzen <thies@php.net>
Wed, 30 Jan 2002 07:41:04 +0000 (07:41 +0000)
committerThies C. Arntzen <thies@php.net>
Wed, 30 Jan 2002 07:41:04 +0000 (07:41 +0000)
ext/oci8/oci8.c

index 98c9dd8783469ab4749251b582f825b8f61c6e6e..2f058881076c6d28136e802f8e1102ededaa431d 100644 (file)
@@ -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 */