mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Clean up ODBC header (#16754)
Remove an unused field from globals, fix indentation.
This commit is contained in:
parent
dfba04e807
commit
cec9a98bc6
2 changed files with 9 additions and 11 deletions
|
@ -545,7 +545,6 @@ PHP_MINIT_FUNCTION(odbc)
|
||||||
/* {{{ PHP_RINIT_FUNCTION */
|
/* {{{ PHP_RINIT_FUNCTION */
|
||||||
PHP_RINIT_FUNCTION(odbc)
|
PHP_RINIT_FUNCTION(odbc)
|
||||||
{
|
{
|
||||||
ODBCG(defConn) = -1;
|
|
||||||
ODBCG(num_links) = ODBCG(num_persistent);
|
ODBCG(num_links) = ODBCG(num_persistent);
|
||||||
memset(ODBCG(laststate), '\0', 6);
|
memset(ODBCG(laststate), '\0', 6);
|
||||||
memset(ODBCG(lasterrormsg), '\0', SQL_MAX_MESSAGE_LENGTH);
|
memset(ODBCG(lasterrormsg), '\0', SQL_MAX_MESSAGE_LENGTH);
|
||||||
|
|
|
@ -239,7 +239,6 @@ ZEND_BEGIN_MODULE_GLOBALS(odbc)
|
||||||
zend_long max_links;
|
zend_long max_links;
|
||||||
zend_long num_persistent;
|
zend_long num_persistent;
|
||||||
zend_long num_links;
|
zend_long num_links;
|
||||||
int defConn;
|
|
||||||
zend_long defaultlrl;
|
zend_long defaultlrl;
|
||||||
zend_long defaultbinmode;
|
zend_long defaultbinmode;
|
||||||
zend_long default_cursortype;
|
zend_long default_cursortype;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue