From 922e694f69c2f66f1f0cd35e18e21590009b85c8 Mon Sep 17 00:00:00 2001 From: duwenxin Date: Mon, 9 Feb 2026 23:21:45 -0500 Subject: [PATCH] update clickhouse --- tests/clickhouse/clickhouse_integration_test.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/clickhouse/clickhouse_integration_test.go b/tests/clickhouse/clickhouse_integration_test.go index 1facaff6b4..c9e3d7d048 100644 --- a/tests/clickhouse/clickhouse_integration_test.go +++ b/tests/clickhouse/clickhouse_integration_test.go @@ -570,15 +570,15 @@ func TestClickHouseExecuteSQLTool(t *testing.T) { resultSliceLen: 0, }, { - name: "MissingSQL", - sql: "", - isErr: true, + name: "MissingSQL", + sql: "", + resultSliceLen: 1, }, { - name: "SQLInjectionAttempt", - sql: "SELECT 1; DROP TABLE system.users; SELECT 2", - isErr: true, + name: "SQLInjectionAttempt", + sql: "SELECT 1; DROP TABLE system.users; SELECT 2", + resultSliceLen: 1, }, } for _, tc := range tcs {