<p dir="auto">problem：When sharding proxy and SQL hint are used for database splitting, does the read-write separation configuration not take effect？<br>
environment：shardingproxy-5.1.2,mysql5.7<br>
What should I do if I want to use hint and read / write split config at the same time?</p>
<h2 dir="auto">Bug Report</h2>
<h3 dir="auto">Which version of ShardingSphere did you use?</h3>
<p dir="auto">master <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/apache/shardingsphere/commit/6a70d74de389b16dd2b1a30c62c15f9f49954d52/hovercard" href="https://github.com/apache/shardingsphere/commit/6a70d74de389b16dd2b1a30c62c15f9f49954d52"><tt>6a70d74</tt></a></p>
<h3 dir="auto">Expected behavior</h3>
<p dir="auto">Pass PostgreSQL Proxy integration test</p>
<h3 dir="auto">Actual behavior</h3>
<p dir="auto">Integration tests failed.</p>
<h3 dir="auto">Reason analyze (If you can)</h3>
<p dir="auto">Proxy returned duplicated ReadyForQuery when error occurred, which messed up the frontend connection.</p>
<p dir="auto">The 168 ReadyForQuery is duplicated, which messed up the frontend connection.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/20503072/136653586-9a688938-c956-4f69-b487-a6a0f9372d83.png"><img src="https://user-images.githubusercontent.com/20503072/136653586-9a688938-c956-4f69-b487-a6a0f9372d83.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto"><a href="https://github.com/apache/shardingsphere/files/7315345/pg_proxy_it_failed.pcapng.zip">pg_proxy_it_failed.pcapng.zip</a></p>
<h3 dir="auto">Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="./mvnw -B clean install -am -pl shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite -DskipTests -Dmaven.javadoc.skip=true -Dcheckstyle.skip=true -Drat.skip=true -Djacoco.skip=true -T1C -Ddockerfile.useProxy=false -f pom.xml -Dit.env.docker
./mvnw -B install -Dit.adapters=proxy -Dit.databases=PostgreSQL -Dit.scenarios=db -Dit.env.type=DOCKER -f shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/pom.xml"><pre class="notranslate"><code class="notranslate">./mvnw -B clean install -am -pl shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite -DskipTests -Dmaven.javadoc.skip=true -Dcheckstyle.skip=true -Drat.skip=true -Djacoco.skip=true -T1C -Ddockerfile.useProxy=false -f pom.xml -Dit.env.docker
./mvnw -B install -Dit.adapters=proxy -Dit.databases=PostgreSQL -Dit.scenarios=db -Dit.env.type=DOCKER -f shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/pom.xml
</code></pre></div>