BUGFIX Fixed incorrect version in MSSQLDatabaseConfigurationHelper::requireDatabaseVersion()

This commit is contained in:
Sean Harvey 2010-05-13 12:27:25 +00:00
parent 8bad204488
commit 90e1e644c9

View File

@ -99,7 +99,7 @@ class MSSQLDatabaseConfigurationHelper implements DatabaseConfigurationHelper {
}
/**
* Ensure that the SQL Server version is at least 10.00.1600 (SQL Server 2008 RTM).
* Ensure that the SQL Server version is at least 10.00.2531 (SQL Server 2008 SP1).
* @see http://www.sqlteam.com/article/sql-server-versions
* @param array $databaseConfig Associative array of db configuration, e.g. "server", "username" etc
* @return array Result - e.g. array('success' => true, 'error' => 'details of error')
@ -128,7 +128,7 @@ class MSSQLDatabaseConfigurationHelper implements DatabaseConfigurationHelper {
}
if($version) {
$success = version_compare($version, '10.00.1600', '>=');
$success = version_compare($version, '10.00.2531', '>=');
if(!$success) {
$error = "Your SQL Server version is $version. It's recommended you use at least 10.00.2531 (SQL Server 2008 SP1).";
}