diff -ur -U 5 mantisbt-1.3.0-beta.3\core\database_api.php mantisbt-1.3.0-beta.3-mspl1\core\database_api.php --- mantisbt-1.3.0-beta.3\core\database_api.php Sun Sep 06 14:10:14 2015 +++ mantisbt-1.3.0-beta.3-mspl1\core\database_api.php Tue Sep 08 14:03:14 2015 @@ -802,11 +802,12 @@ global $g_db; $t_db_type = config_get_global( 'db_type' ); switch( $t_db_type ) { case 'mssql': - case 'mssqlnative': + # XXX: Is this function even needed now? All of its instances are used in parameterized SQL queries (db_param()) + #case 'mssqlnative': # Definitely do not need to encode varbinary in parameterized SQL queries with MS sqldrv v3.2 (php_sqlsrv_56_nts.dll) case 'odbc_mssql': case 'ado_mssql': $t_content = unpack( 'H*hex', $p_string ); return '0x' . $t_content['hex']; break;