提交 c582a876 authored 作者: Evgenij Ryazanov's avatar Evgenij Ryazanov

Check also schema name

上级 19ecb483
...@@ -299,7 +299,7 @@ public class TestScript extends TestBase { ...@@ -299,7 +299,7 @@ public class TestScript extends TestBase {
private void process(String sql) throws Exception { private void process(String sql) throws Exception {
if (reconnectOften) { if (reconnectOften) {
if (!containsTempTables() && ((JdbcConnection) conn).isRegularMode()) { if (!containsTempTables() && ((JdbcConnection) conn).isRegularMode() && conn.getSchema().equals("PUBLIC")) {
boolean autocommit = conn.getAutoCommit(); boolean autocommit = conn.getAutoCommit();
if (autocommit && random.nextInt(10) < 1) { if (autocommit && random.nextInt(10) < 1) {
// reconnect 10% of the time // reconnect 10% of the time
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论