-
-
src/Lunr/Gravity/Database/MySQL/Tests/MySQLConnectionMasterSlaveTest.php (Diff revision 1) Could use the mock_function here, but I guess that it was not there back then, when you wrote that code :)
[Gravity] Add mysqlnd_ms abstraction functionality
Review Request #197 — Created Oct. 24, 2013 and submitted
Information | |
---|---|
pprkut | |
Lunr | |
pprkut:sql | |
Reviewers | |
lunr | |
This adds methods to the MySQLConnection class to steer the behaviour of mysqlnd_ms. We use the actual values rather than the constants in the code to avoid a dependency on mysqlnd_ms when users don't really need it (one server case).
Unit tests