From 11ef16f75ae996e18a7a019f8a3159f719c25919 Mon Sep 17 00:00:00 2001 From: Hein Date: Tue, 23 Jun 2026 09:41:40 +0200 Subject: [PATCH] fix(sql_helpers): adjust parenthesis nesting depth comment --- pkg/common/sql_helpers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/common/sql_helpers.go b/pkg/common/sql_helpers.go index e68b736..c46ade0 100644 --- a/pkg/common/sql_helpers.go +++ b/pkg/common/sql_helpers.go @@ -453,7 +453,7 @@ func containsTopLevelOR(clause string) bool { func splitByAND(where string) []string { conditions := []string{} currentCondition := strings.Builder{} - depth := 0 // parenthesis nesting depth + depth := 0 // parenthesis nesting depth inSingleQuote := false afterBetween := false // true after seeing BETWEEN at depth 0; next AND belongs to it i := 0