Commit 70ea43a2 authored by Steve Müller's avatar Steve Müller

fix database version string evaluation for SQL Server

parent 12132c53
......@@ -57,7 +57,7 @@ abstract class AbstractSQLServerDriver implements Driver, VersionAwarePlatformDr
$minorVersion = isset($versionParts['minor']) ? $versionParts['minor'] : 0;
$patchVersion = isset($versionParts['patch']) ? $versionParts['patch'] : 0;
$buildVersion = isset($versionParts['build']) ? $versionParts['build'] : 0;
$version = $majorVersion . '.' . $minorVersion . '.' . $patchVersion . $buildVersion;
$version = $majorVersion . '.' . $minorVersion . '.' . $patchVersion . '.' . $buildVersion;
switch(true) {
case version_compare($version, '11.00.2100', '>='):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment