cvs: php4 /ext/oci8 oci8.c

From: Date: Wed, 14 Feb 2001 13:06:04 +0000
Subject: cvs: php4 /ext/oci8 oci8.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-4020@lists.php.net to get a copy of this message
thies Wed Feb 14 05:06:04 2001 EDT Modified files: /php4/ext/oci8 oci8.c Log: ocifreedesc() now spits a NOTICE when called the "wrong" way. Index: php4/ext/oci8/oci8.c diff -u php4/ext/oci8/oci8.c:1.106 php4/ext/oci8/oci8.c:1.107 --- php4/ext/oci8/oci8.c:1.106 Mon Feb 12 06:36:28 2001 +++ php4/ext/oci8/oci8.c Wed Feb 14 05:06:03 2001 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: oci8.c,v 1.106 2001/02/12 14:36:28 thies Exp $ */ +/* $Id: oci8.c,v 1.107 2001/02/14 13:06:03 thies Exp $ */ /* TODO list: * @@ -489,7 +489,7 @@ php_info_print_table_start(); php_info_print_table_row(2, "OCI8 Support", "enabled"); - php_info_print_table_row(2, "Revision", "$Revision: 1.106 $"); + php_info_print_table_row(2, "Revision", "$Revision: 1.107 $"); #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 ); @@ -2610,7 +2610,9 @@ } } - RETURN_FALSE; + php_error(E_NOTICE, "OCIFreeDesc() should not be called like this. Use $somelob->free() to free a LOB"); + + RETURN_FALSE; } /* }}} */

« previous php.cvs (#4020) next »