mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
0131c3be00
Add 'versionfromdb' to opt-in for VERSION() query. mariadb_native_moodle_database::get_server_info() has been removed to avoid the specific override: everything is now managed in the base method which takes care of both MySQL and MariaDB versioning details. New protected methods have been added too to improve the testing strategy, allowing to mock the results from an actual DB connection. The new testing strategy enables simulating even the Azure scenarios.