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

fix(partition): adapt control of database version #11609

Merged
merged 2 commits into from
Aug 24, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions www/class/centreon-partition/partEngine.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -614,6 +614,7 @@ public function isCompatible($db)
$dbResult->closeCursor();

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