Open
Description
Just observed that my test cases for broken connections actually act on healthy connections. I mean the following cases:
Lines 96 to 114 in 2d22046
Lines 312 to 354 in 2d22046
My initial assumption was that any SQL error (including syntax error) will lead to marking the connection as broken, however it is not so. Only CR_SERVER_LOST or CR_SERVER_GONE_ERROR errors matter here:
Lines 149 to 157 in 2d22046
Lines 71 to 74 in 2d22046
It seems we should find a way to broke a connection from a test. It seems that support of an error injection is needed for Debug build.