From b5019161334447b7b439eb0d4cea056ef0ef388a Mon Sep 17 00:00:00 2001 From: ch4r1ty <920853279@qq.com> Date: Tue, 11 Mar 2025 20:25:38 -0400 Subject: [PATCH] Enhance exception message in update_bulk_unique_0_u32_u64_u64 method - Improved the exception message in the `update_bulk_unique_0_u32_u64_u64` method to provide more detailed information about the discrepancy between expected and actual row counts. This enhancement will aid in debugging and understanding issues related to insufficient rows during bulk updates. --- modules/benchmarks-cs/synthetic.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/benchmarks-cs/synthetic.cs b/modules/benchmarks-cs/synthetic.cs index cf888fd7a56..1b037163aac 100644 --- a/modules/benchmarks-cs/synthetic.cs +++ b/modules/benchmarks-cs/synthetic.cs @@ -293,7 +293,7 @@ unique_0_u32_u64_str_t u32_u64_str in ctx } if (hit != row_count) { - throw new Exception("Not enough rows to perform requested amount of updates"); + throw new Exception($"Not enough rows to perform requested amount of updates. Expected: {row_count}, Actual: {hit}"); } }