This is an automated email from the ASF dual-hosted git repository.

terrymanu 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 9ba3b4b28a8 Add @SingletonSPI on ShardingAuditAlgorithm (#39828)
9ba3b4b28a8 is described below

commit 9ba3b4b28a8e979e960eea722cd89aacfe0b9d85
Author: Liang Zhang <[email protected]>
AuthorDate: Sun Sep 13 14:48:39 2026 +0800

    Add @SingletonSPI on ShardingAuditAlgorithm (#39828)
    
    * Refactor JDBC prepared statement parameter index
    
    * Add @SingletonSPI on ShardingAuditAlgorithm
---
 .../org/apache/shardingsphere/sharding/spi/ShardingAuditAlgorithm.java  | 2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/features/sharding/api/src/main/java/org/apache/shardingsphere/sharding/spi/ShardingAuditAlgorithm.java
 
b/features/sharding/api/src/main/java/org/apache/shardingsphere/sharding/spi/ShardingAuditAlgorithm.java
index 44d6bd59064..d30a7826623 100644
--- 
a/features/sharding/api/src/main/java/org/apache/shardingsphere/sharding/spi/ShardingAuditAlgorithm.java
+++ 
b/features/sharding/api/src/main/java/org/apache/shardingsphere/sharding/spi/ShardingAuditAlgorithm.java
@@ -21,12 +21,14 @@ import 
org.apache.shardingsphere.infra.algorithm.core.ShardingSphereAlgorithm;
 import 
org.apache.shardingsphere.infra.binder.context.statement.SQLStatementContext;
 import 
org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase;
 import org.apache.shardingsphere.infra.metadata.database.rule.RuleMetaData;
+import org.apache.shardingsphere.infra.spi.annotation.SingletonSPI;
 
 import java.util.List;
 
 /**
  * Sharding audit algorithm.
  */
+@SingletonSPI
 public interface ShardingAuditAlgorithm extends ShardingSphereAlgorithm {
     
     /**

Reply via email to