sixd Tue Feb 26 02:18:16 2008 UTC
Modified files:
/php-src/ext/oci8 oci8.c
Log:
Use STD_PHP_INI_BOOLEAN. Fix whitespace.
http://cvs.php.net/viewvc.cgi/php-src/ext/oci8/oci8.c?r1=1.343&r2=1.344&diff_format=u
Index: php-src/ext/oci8/oci8.c
diff -u php-src/ext/oci8/oci8.c:1.343 php-src/ext/oci8/oci8.c:1.344
--- php-src/ext/oci8/oci8.c:1.343 Tue Feb 19 01:44:29 2008
+++ php-src/ext/oci8/oci8.c Tue Feb 26 02:18:16 2008
@@ -26,7 +26,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: oci8.c,v 1.343 2008/02/19 01:44:29 sixd Exp $ */
+/* $Id: oci8.c,v 1.344 2008/02/26 02:18:16 sixd Exp $ */
/* TODO
*
* file://localhost/www/docs/oci10/ociaahan.htm#423823 - implement lob_empty()
with OCI_ATTR_LOBEMPTY
@@ -395,15 +395,15 @@
/* {{{ PHP_INI */
PHP_INI_BEGIN()
- STD_PHP_INI_ENTRY("oci8.max_persistent", "-1", PHP_INI_SYSTEM,
ONUPDATELONGFUNC, max_persistent,
zend_oci_globals, oci_globals)
- STD_PHP_INI_ENTRY("oci8.persistent_timeout", "-1", PHP_INI_SYSTEM,
ONUPDATELONGFUNC, persistent_timeout,
zend_oci_globals, oci_globals)
- STD_PHP_INI_ENTRY("oci8.ping_interval", "60",
PHP_INI_SYSTEM, ONUPDATELONGFUNC, ping_interval,
zend_oci_globals, oci_globals)
- STD_PHP_INI_BOOLEAN("oci8.privileged_connect", "0", PHP_INI_SYSTEM,
OnUpdateBool, privileged_connect,
zend_oci_globals, oci_globals)
- STD_PHP_INI_ENTRY("oci8.statement_cache_size", "20", PHP_INI_SYSTEM,
ONUPDATELONGFUNC, statement_cache_size,
zend_oci_globals, oci_globals)
- STD_PHP_INI_ENTRY("oci8.default_prefetch", "10", PHP_INI_SYSTEM,
ONUPDATELONGFUNC, default_prefetch,
zend_oci_globals, oci_globals)
- STD_PHP_INI_ENTRY("oci8.old_oci_close_semantics", "0", PHP_INI_SYSTEM,
OnUpdateBool,
old_oci_close_semantics,zend_oci_globals, oci_globals)
- STD_PHP_INI_ENTRY("oci8.connection_class", "" , PHP_INI_ALL,
OnUpdateUTF8String, connection_class,
zend_oci_globals, oci_globals)
- STD_PHP_INI_ENTRY("oci8.events", "0" ,
PHP_INI_SYSTEM, OnUpdateBool, events,
zend_oci_globals, oci_globals)
+ STD_PHP_INI_ENTRY( "oci8.max_persistent", "-1",
PHP_INI_SYSTEM, ONUPDATELONGFUNC, max_persistent,
zend_oci_globals, oci_globals)
+ STD_PHP_INI_ENTRY( "oci8.persistent_timeout", "-1",
PHP_INI_SYSTEM, ONUPDATELONGFUNC, persistent_timeout,
zend_oci_globals, oci_globals)
+ STD_PHP_INI_ENTRY( "oci8.ping_interval", "60",
PHP_INI_SYSTEM, ONUPDATELONGFUNC, ping_interval,
zend_oci_globals, oci_globals)
+ STD_PHP_INI_BOOLEAN("oci8.privileged_connect", "0",
PHP_INI_SYSTEM, OnUpdateBool, privileged_connect,
zend_oci_globals, oci_globals)
+ STD_PHP_INI_ENTRY( "oci8.statement_cache_size", "20",
PHP_INI_SYSTEM, ONUPDATELONGFUNC, statement_cache_size,
zend_oci_globals, oci_globals)
+ STD_PHP_INI_ENTRY( "oci8.default_prefetch", "10",
PHP_INI_SYSTEM, ONUPDATELONGFUNC, default_prefetch,
zend_oci_globals, oci_globals)
+ STD_PHP_INI_BOOLEAN("oci8.old_oci_close_semantics", "0",
PHP_INI_SYSTEM, OnUpdateBool,
old_oci_close_semantics,zend_oci_globals, oci_globals)
+ STD_PHP_INI_ENTRY( "oci8.connection_class", "",
PHP_INI_ALL, OnUpdateUTF8String, connection_class,
zend_oci_globals, oci_globals)
+ STD_PHP_INI_BOOLEAN("oci8.events",
"0", PHP_INI_SYSTEM, OnUpdateBool, events,
zend_oci_globals, oci_globals)
PHP_INI_END()
/* }}} */
@@ -671,7 +671,7 @@
php_info_print_table_start();
php_info_print_table_row(2, "OCI8 Support", "enabled");
php_info_print_table_row(2, "Version", "1.3.1 Beta");
- php_info_print_table_row(2, "Revision", "$Revision: 1.343 $");
+ php_info_print_table_row(2, "Revision", "$Revision: 1.344 $");
snprintf(buf, sizeof(buf), "%ld", OCI_G(num_persistent));
php_info_print_table_row(2, "Active Persistent Connections", buf);
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php