From 4ddd2179bd4e9aa8275819d041f8ae26423ed9a8 Mon Sep 17 00:00:00 2001 From: Shen Yunlong <44497386+shenyunlong@users.noreply.github.com> Date: Sun, 4 Feb 2024 16:13:28 +0800 Subject: [PATCH] [Fix] the exception message when execute LS batch is inaccurate (#89) --- .../java/com/alipay/oceanbase/rpc/mutation/BatchOperation.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/alipay/oceanbase/rpc/mutation/BatchOperation.java b/src/main/java/com/alipay/oceanbase/rpc/mutation/BatchOperation.java index 01ea4512..48092e30 100644 --- a/src/main/java/com/alipay/oceanbase/rpc/mutation/BatchOperation.java +++ b/src/main/java/com/alipay/oceanbase/rpc/mutation/BatchOperation.java @@ -207,7 +207,7 @@ public BatchOperationResult executeWithLSBatchOp() throws Exception { } } else { throw new IllegalArgumentException( - "the operation in LS batch must be checkAndInsUp"); + "The operations in batch must be all checkAndInsUp or all non-checkAndInsUp"); } } } else {