From 57f4c4681cb86c7be944b3ee94df082ddeb38c46 Mon Sep 17 00:00:00 2001 From: Liang Zhang Date: Sat, 21 Sep 2024 00:34:19 +0800 Subject: [PATCH] Refactor GlobalClockTransactionHook (#32942) --- .../globalclock/executor/GlobalClockTransactionHook.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/global-clock/core/src/main/java/org/apache/shardingsphere/globalclock/executor/GlobalClockTransactionHook.java b/kernel/global-clock/core/src/main/java/org/apache/shardingsphere/globalclock/executor/GlobalClockTransactionHook.java index 3e195df42f1d2..e836c00a80b2f 100644 --- a/kernel/global-clock/core/src/main/java/org/apache/shardingsphere/globalclock/executor/GlobalClockTransactionHook.java +++ b/kernel/global-clock/core/src/main/java/org/apache/shardingsphere/globalclock/executor/GlobalClockTransactionHook.java @@ -111,12 +111,12 @@ public void afterCommit(final GlobalClockRule rule, final DatabaseType databaseT @Override public void beforeRollback(final GlobalClockRule rule, final DatabaseType databaseType, final Collection connections, - final TransactionConnectionContext transactionContext) throws SQLException { + final TransactionConnectionContext transactionContext) { } @Override public void afterRollback(final GlobalClockRule rule, final DatabaseType databaseType, final Collection connections, - final TransactionConnectionContext transactionContext) throws SQLException { + final TransactionConnectionContext transactionContext) { } @Override