From d8027c8dbd9a0d634eeb4c1ec5398eb853213e11 Mon Sep 17 00:00:00 2001 From: Weizhen Wang Date: Fri, 1 Mar 2024 19:39:36 +0800 Subject: [PATCH] update-s --- pkg/bindinfo/binding_cache_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/bindinfo/binding_cache_test.go b/pkg/bindinfo/binding_cache_test.go index 28b733bba5dce..12cf1a94bb32c 100644 --- a/pkg/bindinfo/binding_cache_test.go +++ b/pkg/bindinfo/binding_cache_test.go @@ -35,7 +35,7 @@ func bindingFuzzyDigest(t *testing.T, b Binding) string { } func TestFuzzyBindingCache(t *testing.T) { - fbc := newFuzzyBindingCache().(*fuzzyBindingCache) + fbc := newFuzzyBindingCache(nil).(*fuzzyBindingCache) b1 := Binding{BindSQL: "SELECT * FROM db1.t1", SQLDigest: "b1"} fDigest1 := bindingFuzzyDigest(t, b1) b2 := Binding{BindSQL: "SELECT * FROM db2.t1", SQLDigest: "b2"}