See Release Notes
Long Term Support Release
Differences Between: [Versions 310 and 401] [Versions 311 and 401] [Versions 39 and 401] [Versions 400 and 401]
DML read/read-write database handle tests for mysqli_native_moodle_database
Copyright: | 2018 Srdjan Janković, Catalyst IT |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 165 lines (6 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 1 file lib/dml/tests/fixtures/read_slave_moodle_database_mock_mysqli.php |
dml_mysqli_read_slave_test:: (3 methods):
test_lock()
test_aux_readonly()
test_real_readslave_connect_fail()
Class: dml_mysqli_read_slave_test - X-Ref
DML mysqli_native_moodle_database read slave specific teststest_lock() X-Ref |
Test readonly handle is not used for reading from special pg_*() call queries, pg_try_advisory_lock and pg_advisory_unlock. return: void |
test_aux_readonly() X-Ref |
Test readonly handle is used for SQL_QUERY_AUX_READONLY queries. return: void |
test_real_readslave_connect_fail() X-Ref |
Test readonly connection failure with real mysqli connection return: void |