moodle/lib/dml/tests
Matteo Scaramuccia 0131c3be00 MDL-69581 dml: Improve MySQL/MariaDB server version detection
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.
2022-12-28 10:59:45 +01:00
..
fixtures MDL-73424 general: specify return type where possible 2022-10-10 16:46:26 +02:00
dml_mysqli_read_slave_test.php MDL-71000 lib/dml: New query type SQL_QUERY_AUX_READONLY 2022-08-23 10:39:43 +10:00
dml_pgsql_read_slave_test.php MDL-71000 lib/dml: New query type SQL_QUERY_AUX_READONLY 2022-08-23 10:39:43 +10:00
dml_read_slave_test.php MDL-74681 lib/dml: moodle_read_slave_trait: written table timestamping 2022-07-08 12:27:33 +10:00
dml_table_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
dml_test.php MDL-69581 dml: Improve MySQL/MariaDB server version detection 2022-12-28 10:59:45 +01:00
pgsql_native_moodle_database_test.php MDL-68164 dml: Cache postgres field type metadata in MUC 2021-09-07 19:29:31 +10:00
pgsql_native_recordset_test.php MDL-68164 dml: Cache postgres field type metadata in MUC 2021-09-07 19:29:31 +10:00
recordset_walk_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
sqlsrv_native_moodle_database_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00