Skip to content

Commit

Permalink
Fix #14574: MSSQL server 2005 as minimum version
Browse files Browse the repository at this point in the history
  • Loading branch information
dregad committed Aug 10, 2012
1 parent 938ce31 commit e05334c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion admin/install.php
Expand Up @@ -375,9 +375,13 @@ function InsertData( $p_table, $p_data ) {
$t_error = 'MySQL 4.1.0 or later is required for installation.';
}
break;
case 'pgsql':
case 'mssql':
case 'mssqlnative':
if( version_compare( $t_version_info['version'], '9.0.0', '<' ) ) {
$t_error = 'SQL Server 2005 or later is required for installation.';
}
break;
case 'pgsql':
case 'db2':
default:
break;
Expand Down
4 changes: 2 additions & 2 deletions docbook/administration_guide/en/installation.sgml
Expand Up @@ -249,8 +249,8 @@
</row>
<row>
<entry>MS SQL Server</entry>
<entry></entry>
<entry></entry>
<entry>2005</entry>
<entry>2005 or above</entry>
<entry>PHP extension: mssql or sqlsrv</entry>
</row>
<row>
Expand Down

0 comments on commit e05334c

Please sign in to comment.