This is an automated email from the ASF dual-hosted git repository.
zhonghongsheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git
The following commit(s) were added to refs/heads/master by this push:
new edae646cb09 Fix sonar issue on PostgreSQLComParseExecutorTest (#28125)
edae646cb09 is described below
commit edae646cb09ef84c827420c6deba0b2a743b1491
Author: Liang Zhang <[email protected]>
AuthorDate: Wed Aug 16 21:16:55 2023 +0800
Fix sonar issue on PostgreSQLComParseExecutorTest (#28125)
* Refactor NewResourceSwitchManager
* Fix sonar issue on PostgreSQLComParseExecutorTest
---
.../command/query/extended/parse/PostgreSQLComParseExecutorTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/proxy/frontend/type/postgresql/src/test/java/org/apache/shardingsphere/proxy/frontend/postgresql/command/query/extended/parse/PostgreSQLComParseExecutorTest.java
b/proxy/frontend/type/postgresql/src/test/java/org/apache/shardingsphere/proxy/frontend/postgresql/command/query/extended/parse/PostgreSQLComParseExecutorTest.java
index aa07e2ea81e..7cee7bde1fc 100644
---
a/proxy/frontend/type/postgresql/src/test/java/org/apache/shardingsphere/proxy/frontend/postgresql/command/query/extended/parse/PostgreSQLComParseExecutorTest.java
+++
b/proxy/frontend/type/postgresql/src/test/java/org/apache/shardingsphere/proxy/frontend/postgresql/command/query/extended/parse/PostgreSQLComParseExecutorTest.java
@@ -135,7 +135,7 @@ class PostgreSQLComParseExecutorTest {
}
@Test
- void assetExecuteWithQuestionOperator() throws
ReflectiveOperationException {
+ void assertExecuteWithQuestionOperator() throws
ReflectiveOperationException {
final String rawSQL = "update t_test set enabled = $1 where name ?&
$2";
final String expectedSQL = "update t_test set enabled = ? where name
??& ?";
final String statementId = "S_2";