Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

Commit

Permalink
fix(partition): adapt control of database version (#11609)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyjaouen authored Aug 24, 2022
1 parent 0688c6e commit a0c9aeb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion www/class/centreon-partition/partEngine.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -613,7 +613,9 @@ public function isCompatible($db)
}
$dbResult->closeCursor();

if (stristr($dbType, "MySQL")
if (
stristr($dbType, "MySQL")
|| stristr($dbType, "Source distribution")
&& (version_compare($dbVersion, '8.0.0', '>='))
) {
unset($config, $row);
Expand Down

0 comments on commit a0c9aeb

Please sign in to comment.