Fix test failure of extended-query-test/disable-load-balance-always.
authorTatsuo Ishii <ishii@sraoss.co.jp>
Sun, 11 Aug 2019 02:27:58 +0000 (11:27 +0900)
committerTatsuo Ishii <ishii@sraoss.co.jp>
Sun, 11 Aug 2019 02:27:58 +0000 (11:27 +0900)
commitabe2026bff6d4727bf56813c71293ea6ac7084d0
treea2031421763b00892f194f37b7d40fce17537a93
parentf8d466fdf1ca9599f709f881914c6d69cac49871
Fix test failure of extended-query-test/disable-load-balance-always.

It expected the first SELECT to be sent to load balance node but a
preceding write query (DROP/CREATE TABLE) prevented it because it set
the writing_transaction flag. Fix is, instead of issuing DROP/CREATE
TABLE before the SELECT, issue harmless SET command after the SELECT
in extended query mode.
src/test/extended-query-test/expected/disable-load-balance-always.data
src/test/extended-query-test/tests/disable-load-balance-always.data