Fix extra test failure of extended-query-test/disable-load-balance-off.
authorTatsuo Ishii <ishii@sraoss.co.jp>
Sun, 11 Aug 2019 10:19:02 +0000 (19:19 +0900)
committerTatsuo Ishii <ishii@sraoss.co.jp>
Sun, 11 Aug 2019 10:24:07 +0000 (19:24 +0900)
commitfd533048d1fdbbac57e2ead3c95bb91593c739b8
tree4f60251d84460fe146c22b4d349b004df0252ac4
parent8653c402cdee529b82a5aeeaf630c9f2931843dd
Fix extra test failure of extended-query-test/disable-load-balance-off.

There were two reasons why the test fails.

1) when disable_load_balance_on_write = off, parse_before_bind should
   have not be called at all. So fix this.

2) the test data tests/disable-load-balance-off.data did not set
disable_load_balance_on_write = off.
src/protocol/pool_proto_modules.c
src/test/extended-query-test/tests/disable-load-balance-off.data