CVS update: php3/dl/mssql

From: Date: Sun, 13 Sep 1998 04:58:02 +0000
Subject: CVS update: php3/dl/mssql
Groups: php.dev 
Request: Send a blank email to php-dev+get-1022@lists.php.net to get a copy of this message
Date: Sunday September 13, 1998 @ 0:58 Author: shane Update of /repository/php3/dl/mssql In directory asf:/u2/tmp/cvs-serv13876/dl/mssql Modified Files: mssql.c Log Message: a couple fixes. Where did gdImageColorResolve go? Index: php3/dl/mssql/mssql.c diff -c php3/dl/mssql/mssql.c:1.6 php3/dl/mssql/mssql.c:1.7 *** php3/dl/mssql/mssql.c:1.6 Thu Sep 10 19:57:15 1998 --- php3/dl/mssql/mssql.c Sun Sep 13 00:58:02 1998 *************** *** 244,276 **** dberrhandle((DBERRHANDLE_PROC) php3_mssql_error_handler); dbmsghandle((DBMSGHANDLE_PROC) php3_mssql_message_handler); ! // if (cfg_get_string("mssql.interface_file",&interface_file)==SUCCESS) { //dbsetifile(interface_file); ! // } ! // if (cfg_get_long("mssql.allow_persistent",&msSQL_GLOBAL(allow_persistent))==FAILURE) { msSQL_GLOBAL(allow_persistent)=1; ! // } ! // if (cfg_get_long("mssql.max_persistent",&msSQL_GLOBAL(max_persistent))==FAILURE) { msSQL_GLOBAL(max_persistent)=-1; ! // } ! // if (cfg_get_long("mssql.max_links",&msSQL_GLOBAL(max_links))==FAILURE) { msSQL_GLOBAL(max_links)=-1; ! // } ! // if (cfg_get_long("mssql.min_error_severity",&msSQL_GLOBAL(cfg_min_error_severity))==FAILURE) { msSQL_GLOBAL(cfg_min_error_severity)=10; ! // } ! // if (cfg_get_long("mssql.min_message_severity",&msSQL_GLOBAL(cfg_min_message_severity))==FAILURE) { msSQL_GLOBAL(cfg_min_message_severity)=10; ! // } ! // if (cfg_get_long("mssql.compatability_mode",&compatability_mode)==FAILURE) { compatability_mode = 0; ! // } ! // if (cfg_get_long("mssql.connect_timeout",&connecttimeout)==FAILURE) { connecttimeout = 5; ! // } ! // if (cfg_get_long("magic_quotes_runtime",&msSQL_GLOBAL(magic_quotes_runtime))==FAILURE) { msSQL_GLOBAL(magic_quotes_runtime) = 0; ! // } if (compatability_mode) { msSQL_GLOBAL(get_column_content) = php3_mssql_get_column_content_with_type; } else { --- 244,276 ---- dberrhandle((DBERRHANDLE_PROC) php3_mssql_error_handler); dbmsghandle((DBMSGHANDLE_PROC) php3_mssql_message_handler); ! if (cfg_get_string("mssql.interface_file",&interface_file)==SUCCESS) { //dbsetifile(interface_file); ! } ! if (cfg_get_long("mssql.allow_persistent",&msSQL_GLOBAL(allow_persistent))==FAILURE) { msSQL_GLOBAL(allow_persistent)=1; ! } ! if (cfg_get_long("mssql.max_persistent",&msSQL_GLOBAL(max_persistent))==FAILURE) { msSQL_GLOBAL(max_persistent)=-1; ! } ! if (cfg_get_long("mssql.max_links",&msSQL_GLOBAL(max_links))==FAILURE) { msSQL_GLOBAL(max_links)=-1; ! } ! if (cfg_get_long("mssql.min_error_severity",&msSQL_GLOBAL(cfg_min_error_severity))==FAILURE) { msSQL_GLOBAL(cfg_min_error_severity)=10; ! } ! if (cfg_get_long("mssql.min_message_severity",&msSQL_GLOBAL(cfg_min_message_severity))==FAILURE) { msSQL_GLOBAL(cfg_min_message_severity)=10; ! } ! if (cfg_get_long("mssql.compatability_mode",&compatability_mode)==FAILURE) { compatability_mode = 0; ! } ! if (cfg_get_long("mssql.connect_timeout",&connecttimeout)==FAILURE) { connecttimeout = 5; ! } ! if (cfg_get_long("magic_quotes_runtime",&msSQL_GLOBAL(magic_quotes_runtime))==FAILURE) { msSQL_GLOBAL(magic_quotes_runtime) = 0; ! } if (compatability_mode) { msSQL_GLOBAL(get_column_content) = php3_mssql_get_column_content_with_type; } else { -- 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

« previous php.dev (#1022) next »