CVS update: php31/ext/odbc
| From: | shane | Date: | Wed, 16 Sep 1998 19:15:22 +0000 |
| Subject: | CVS update: php31/ext/odbc | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-1179@lists.php.net to get a copy of this message | ||
Date: Wednesday September 16, 1998 @ 15:15
Author: shane
Update of /repository/php31/ext/odbc
In directory asf:/u2/tmp/cvs-serv20230/ext/odbc
Modified Files:
unified_odbc.c
Log Message:
fix cfg_get functions. I know they'll be changing eventualy, might as well
have it work now though.
apache works again.
Index: php31/ext/odbc/unified_odbc.c
diff -c php31/ext/odbc/unified_odbc.c:2.14 php31/ext/odbc/unified_odbc.c:2.15
*** php31/ext/odbc/unified_odbc.c:2.14 Tue Sep 15 14:23:44 1998
--- php31/ext/odbc/unified_odbc.c Wed Sep 16 15:15:21 1998
***************
*** 237,243 ****
SQLAllocEnv(&UODBC_GLOBAL(PHP3_UODBC_MODULE).henv);
- #if !PHP_31
cfg_get_string(ODBC_INI_DEFAULTDB,
&UODBC_GLOBAL(PHP3_UODBC_MODULE).defDB);
cfg_get_string(ODBC_INI_DEFAULTUSER,
--- 237,242 ----
***************
*** 259,269 ****
== FAILURE) {
UODBC_GLOBAL(PHP3_UODBC_MODULE).max_links = -1;
}
- #else
- UODBC_GLOBAL(PHP3_UODBC_MODULE).allow_persistent = -1;
- UODBC_GLOBAL(PHP3_UODBC_MODULE).max_persistent = -1;
- UODBC_GLOBAL(PHP3_UODBC_MODULE).max_links = -1;
- #endif
UODBC_GLOBAL(PHP3_UODBC_MODULE).num_persistent = 0;
--- 258,263 ----
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net