Fixed #36812 -- Dropped support for MariaDB < 10.11.

This commit is contained in:
Skyiesac
2026-01-07 17:36:30 +05:30
committed by Mariusz Felisiak
parent 68d110f1fe
commit c3c9f1908e
7 changed files with 19 additions and 22 deletions

View File

@@ -106,8 +106,8 @@ class Tests(TestCase):
@mock.patch.object(connection, "get_database_version")
def test_check_database_version_supported(self, mocked_get_database_version):
if connection.mysql_is_mariadb:
mocked_get_database_version.return_value = (10, 5)
msg = "MariaDB 10.6 or later is required (found 10.5)."
mocked_get_database_version.return_value = (10, 10)
msg = "MariaDB 10.11 or later is required (found 10.10)."
else:
mocked_get_database_version.return_value = (8, 0, 31)
msg = "MySQL 8.4 or later is required (found 8.0.31)."