tony2001 Thu Dec 8 17:07:30 2005 EDT
Modified files: (Branch: PHP_5_1)
/php-src/ext/oci8 oci8_statement.c
Log:
MFH: improve error message
http://cvs.php.net/diff.php/php-src/ext/oci8/oci8_statement.c?r1=1.7.2.6&r2=1.7.2.7&ty=u
Index: php-src/ext/oci8/oci8_statement.c
diff -u php-src/ext/oci8/oci8_statement.c:1.7.2.6
php-src/ext/oci8/oci8_statement.c:1.7.2.7
--- php-src/ext/oci8/oci8_statement.c:1.7.2.6 Thu Dec 8 16:22:52 2005
+++ php-src/ext/oci8/oci8_statement.c Thu Dec 8 17:07:30 2005
@@ -25,7 +25,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: oci8_statement.c,v 1.7.2.6 2005/12/08 21:22:52 tony2001 Exp $ */
+/* $Id: oci8_statement.c,v 1.7.2.7 2005/12/08 22:07:30 tony2001 Exp $ */
#ifdef HAVE_CONFIG_H
@@ -1121,7 +1121,7 @@
bind = php_oci_bind_array_helper_date(var,
max_table_length, statement->connection TSRMLS_CC);
break;
default:
- php_error_docref(NULL TSRMLS_CC, E_WARNING, "Not
supported bind type (%ld)", type);
+ php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unknown or
unsupported datatype given: %ld", type);
return 1;
break;
}
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php