[ticket/11503] similar implementation for mssql_native and odbc

mssql_native and mssql_odbc db drivers varied at some places
where they should have been similar.
http://tracker.phpbb.com/browse/PHPBB3-11503

PHPBB3-11503