cvs: php4 /ext/mssql php_mssql.c

From: Date: Tue, 08 May 2001 19:24:14 +0000
Subject: cvs: php4 /ext/mssql php_mssql.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-5601@lists.php.net to get a copy of this message
fmk Tue May 8 12:24:14 2001 EDT Modified files: /php4/ext/mssql php_mssql.c Log: Fixing the use of compatibility mode. When the flag is off the system should return correct PHP types (default) when the flag is on strings will be returned for all data types. Index: php4/ext/mssql/php_mssql.c diff -u php4/ext/mssql/php_mssql.c:1.43 php4/ext/mssql/php_mssql.c:1.44 --- php4/ext/mssql/php_mssql.c:1.43 Tue May 8 11:10:25 2001 +++ php4/ext/mssql/php_mssql.c Tue May 8 12:24:14 2001 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_mssql.c,v 1.43 2001/05/08 18:10:25 fmk Exp $ */ +/* $Id: php_mssql.c,v 1.44 2001/05/08 19:24:14 fmk Exp $ */ #ifdef COMPILE_DL_MSSQL #define HAVE_MSSQL 1 @@ -231,9 +231,9 @@ MS_SQL_G(num_persistent) = 0; if (cfg_get_long("mssql.compatability_mode", &compatability_mode) == SUCCESS) { if (compatability_mode) { - MS_SQL_G(get_column_content) = php_mssql_get_column_content_with_type; - } else { MS_SQL_G(get_column_content) = php_mssql_get_column_content_without_type; + } else { + MS_SQL_G(get_column_content) = php_mssql_get_column_content_with_type; } } }

« previous php.cvs (#5601) next »