From: Victor B. <vb...@us...> - 2005-11-26 12:57:08
|
Update of /cvsroot/mantisbt/mantisbt/core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv518/core Modified Files: database_api.php Log Message: A couple of minor fixes relating to installation / MS-SQL. Index: database_api.php =================================================================== RCS file: /cvsroot/mantisbt/mantisbt/core/database_api.php,v retrieving revision 1.46 retrieving revision 1.47 diff -u -d -r1.46 -r1.47 --- database_api.php 15 Aug 2005 22:13:52 -0000 1.46 +++ database_api.php 26 Nov 2005 12:56:58 -0000 1.47 @@ -276,6 +276,7 @@ switch( $t_db_type ) { case 'mssql': case 'odbc_mssql': + case 'ado_mssql': if( ini_get( 'magic_quotes_sybase' ) ) { return addslashes( $p_string ); } else { @@ -365,6 +366,7 @@ switch( $t_db_type ) { case 'mssql': case 'odbc_mssql': + case 'ado_mssql': return "(DATEDIFF(day, $p_date2, $p_date1) ". $p_limitstring . ")"; case 'mysql': |