fmk Sun Feb 9 03:33:40 2003 EDT
Modified files:
/php4/ext/mssql php_mssql.c
Log:
Fixing coredump when no php.ini file is used
Index: php4/ext/mssql/php_mssql.c
diff -u php4/ext/mssql/php_mssql.c:1.103 php4/ext/mssql/php_mssql.c:1.104
--- php4/ext/mssql/php_mssql.c:1.103 Sun Feb 9 02:18:02 2003
+++ php4/ext/mssql/php_mssql.c Sun Feb 9 03:33:40 2003
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_mssql.c,v 1.103 2003/02/09 07:18:02 fmk Exp $ */
+/* $Id: php_mssql.c,v 1.104 2003/02/09 08:33:40 fmk Exp $ */
#ifdef COMPILE_DL_MSSQL
#define HAVE_MSSQL 1
@@ -275,6 +275,9 @@
} else {
mssql_globals->get_column_content =
php_mssql_get_column_content_with_type;
}
+ }
+ else {
+ mssql_globals->get_column_content =
+php_mssql_get_column_content_with_type;
}
}
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php