Skip to content

Commit a9d6605

Browse files
committed
fixup
1 parent cb91d65 commit a9d6605

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

planner/core/integration_test.go

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7792,8 +7792,6 @@ func TestPlanCacheForTableRangeFallback(t *testing.T) {
77927792
tk.MustExec("set @a=10, @b=20, @c=30, @d=40, @e=50")
77937793
tk.MustExec("execute stmt using @a, @b, @c, @d, @e")
77947794
tk.MustQuery("show warnings").Sort().Check(testkit.Rows("Warning 1105 Memory capacity of 10 bytes for 'tidb_opt_range_max_size' exceeded when building ranges. Less accurate ranges such as full range are chosen",
7795-
"Warning 1105 skip plan-cache: in-list is too long",
7796-
"Warning 1105 skip plan-cache: in-list is too long",
77977795
"Warning 1105 skip plan-cache: in-list is too long"))
77987796
tk.MustExec("execute stmt using @a, @b, @c, @d, @e")
77997797
// The plan with range fallback is not cached.
@@ -7842,7 +7840,6 @@ func TestPlanCacheForIndexRangeFallback(t *testing.T) {
78427840
tk.MustExec("set @a='aa', @b='bb', @c='cc', @d='dd', @e='ee', @f='ff', @g='gg', @h='hh', @i='ii', @j='jj'")
78437841
tk.MustExec("execute stmt2 using @a, @b, @c, @d, @e, @f, @g, @h, @i, @j")
78447842
tk.MustQuery("show warnings").Sort().Check(testkit.Rows("Warning 1105 Memory capacity of 1330 bytes for 'tidb_opt_range_max_size' exceeded when building ranges. Less accurate ranges such as full range are chosen",
7845-
"Warning 1105 skip plan-cache: in-list is too long",
78467843
"Warning 1105 skip plan-cache: in-list is too long"))
78477844
tk.MustExec("execute stmt2 using @a, @b, @c, @d, @e, @f, @g, @h, @i, @j")
78487845
tk.MustQuery("select @@last_plan_from_cache").Check(testkit.Rows("0"))
@@ -8000,10 +7997,6 @@ func TestPlanCacheForIndexJoinRangeFallback(t *testing.T) {
80007997
tk.MustExec("set @a='a', @b='b', @c='c', @d='d', @e='e'")
80017998
tk.MustExec("execute stmt2 using @a, @b, @c, @d, @e")
80027999
tk.MustQuery("show warnings").Sort().Check(testkit.Rows("Warning 1105 Memory capacity of 1275 bytes for 'tidb_opt_range_max_size' exceeded when building ranges. Less accurate ranges such as full range are chosen",
8003-
"Warning 1105 skip plan-cache: in-list is too long",
8004-
"Warning 1105 skip plan-cache: in-list is too long",
8005-
"Warning 1105 skip plan-cache: in-list is too long",
8006-
"Warning 1105 skip plan-cache: in-list is too long",
80078000
"Warning 1105 skip plan-cache: in-list is too long"))
80088001
tk.MustExec("execute stmt2 using @a, @b, @c, @d, @e")
80098002
tk.MustQuery("select @@last_plan_from_cache").Check(testkit.Rows("0"))

0 commit comments

Comments
 (0)