cvs: php4 /ext/oci8 oci8.c

From: Date: Wed, 30 Jan 2002 07:41:04 +0000
Subject: cvs: php4 /ext/oci8 oci8.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-9214@lists.php.net to get a copy of this message
thies Wed Jan 30 02:41:04 2002 EDT Modified files: /php4/ext/oci8 oci8.c Log: enable "user-interrupts" Index: php4/ext/oci8/oci8.c diff -u php4/ext/oci8/oci8.c:1.165 php4/ext/oci8/oci8.c:1.166 --- php4/ext/oci8/oci8.c:1.165 Thu Jan 17 13:40:59 2002 +++ php4/ext/oci8/oci8.c Wed Jan 30 02:41:04 2002 @@ -20,7 +20,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: oci8.c,v 1.165 2002/01/17 18:40:59 thies Exp $ */ +/* $Id: oci8.c,v 1.166 2002/01/30 07:41:04 thies Exp $ */ /* TODO list: * @@ -630,7 +630,7 @@ php_info_print_table_start(); php_info_print_table_row(2, "OCI8 Support", "enabled"); - php_info_print_table_row(2, "Revision", "$Revision: 1.165 $"); + php_info_print_table_row(2, "Revision", "$Revision: 1.166 $"); #ifndef PHP_WIN32 php_info_print_table_row(2, "Oracle Version", PHP_OCI8_VERSION ); php_info_print_table_row(2, "Compile-time ORACLE_HOME", PHP_OCI8_DIR ); @@ -922,6 +922,10 @@ 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 */

« previous php.cvs (#9214) next »