com php-src: allow both the old and new cfg argument to work. (the old of course should contain the typo): ext/mssql/php_mssql.c
| From: | Stanislav Malyshev | Date: | Mon, 22 Jul 2013 04:12:19 +0000 |
| Subject: | com php-src: allow both the old and new cfg argument to work. (the old of course should contain the typo): ext/mssql/php_mssql.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-72720@lists.php.net to get a copy of this message | ||
Commit: f51b8d88208929508df39d967fae40b69eea6e1d
Author: Lajos Veres <vlajos@gmail.com> Mon, 15 Jul 2013 14:05:19 +0100
Committer: Stanislav Malyshev <stas@php.net> Sun, 21 Jul 2013 21:12:19 -0700
Parents: b8941a73cce0aacdb21f04528dc0dbc3c951ab92
Branches: PHP-5.5 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=f51b8d88208929508df39d967fae40b69eea6e1d
Log:
allow both the old and new cfg argument to work. (the old of course should contain the typo)
Changed paths:
M ext/mssql/php_mssql.c
Diff:
diff --git a/ext/mssql/php_mssql.c b/ext/mssql/php_mssql.c
index bc9baaa..165dfeb 100644
--- a/ext/mssql/php_mssql.c
+++ b/ext/mssql/php_mssql.c
@@ -243,6 +243,7 @@ PHP_INI_BEGIN()
STD_PHP_INI_ENTRY_EX("mssql.max_links", "-1", PHP_INI_SYSTEM, OnUpdateLong, max_links, zend_mssql_globals, mssql_globals, display_link_numbers)
STD_PHP_INI_ENTRY_EX("mssql.min_error_severity", "10", PHP_INI_ALL, OnUpdateLong, cfg_min_error_severity, zend_mssql_globals, mssql_globals, display_link_numbers)
STD_PHP_INI_ENTRY_EX("mssql.min_message_severity", "10", PHP_INI_ALL, OnUpdateLong, cfg_min_message_severity, zend_mssql_globals, mssql_globals, display_link_numbers)
+ STD_PHP_INI_BOOLEAN("mssql.compatability_mode", "0", PHP_INI_ALL, OnUpdateBool, compatibility_mode, zend_mssql_globals, mssql_globals)
STD_PHP_INI_BOOLEAN("mssql.compatibility_mode", "0", PHP_INI_ALL, OnUpdateBool, compatibility_mode, zend_mssql_globals, mssql_globals)
STD_PHP_INI_ENTRY_EX("mssql.connect_timeout",
"5", PHP_INI_ALL, OnUpdateLong, connect_timeout, zend_mssql_globals, mssql_globals, display_link_numbers)
STD_PHP_INI_ENTRY_EX("mssql.timeout",
"60", PHP_INI_ALL, OnUpdateLong, timeout, zend_mssql_globals, mssql_globals, display_link_numbers)