Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
fail-fast: false
matrix:
php: [ '8.2', '8.3', '8.4', '8.5' ]
mysql-version: [ '5.7', '8.0', '8.4', 'mariadb-10.6', 'mariadb-11.4' ]
mysql-version: [ '5.7', '8.0', '8.4', '9.0', 'mariadb-10.6', 'mariadb-11.4' ]

steps:
- name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion src/MySQLReplication/Repository/MySQLRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public function getMasterStatus(): MasterStatusDTO
{
$query = 'SHOW MASTER STATUS';

if (str_starts_with($this->getVersion(), '8.4')) {
if (version_compare($this->getVersion(), '8.4.0') >= 0) {
$query = 'SHOW BINARY LOG STATUS';
Comment on lines +70 to 71

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mariadb is failing on this one

}

Expand Down
Loading