Skip to content

Commit 2c26e7b

Browse files
committed
fix overescaping
1 parent fea7ce5 commit 2c26e7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

finder/where.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ func NonRegexpPrefix(expr string) string {
3434
}
3535

3636
func likeEscape(v string) string {
37-
return strings.Replace(v, "_", "\\\\_", -1)
37+
return strings.Replace(v, "_", "\\_", -1)
3838
}
3939

4040
// Q quotes string for clickhouse

0 commit comments

Comments
 (0)