Differences Between: [Versions 310 and 311] [Versions 311 and 400] [Versions 311 and 401] [Versions 311 and 402] [Versions 311 and 403] [Versions 39 and 311]
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: | 88 lines (3 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:: (2 methods):
test_lock()
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_real_readslave_connect_fail() X-Ref |
Test readonly connection failure with real mysqli connection return: void |