From: Paul R. <pri...@us...> - 2004-06-01 13:43:59
|
Update of /cvsroot/mantisbt/mantisbt/core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22496 Modified Files: database_api.php Log Message: add support for using odbc_mssql driver Index: database_api.php =================================================================== RCS file: /cvsroot/mantisbt/mantisbt/core/database_api.php,v retrieving revision 1.28 retrieving revision 1.29 diff -u -d -r1.28 -r1.29 --- database_api.php 10 May 2004 13:03:55 -0000 1.28 +++ database_api.php 1 Jun 2004 13:43:50 -0000 1.29 @@ -243,6 +243,7 @@ switch( $t_db_type ) { case 'mssql': + case 'odbc_mssql': return addslashes( $p_string ); case 'mysql': @@ -317,6 +318,7 @@ switch( $t_db_type ) { case 'mssql': + case 'odbc_mssql': return "(DATEDIFF(day, $p_date2, $p_date1) ". $p_limitstring . ")"; case 'mysql': |