Database: iterate over exact count of columns in Statement::detectColumnTypes()

PHP process is killed when trying get meta info for column number bigger then real count with MS Sqlsrv PDO driver.