Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

topsql: make topsql enable only be controlled by pub/sub sink #31209

Merged
merged 15 commits into from
Dec 31, 2021
Merged
2 changes: 1 addition & 1 deletion executor/set_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1602,5 +1602,5 @@ func (s *testSerialSuite) TestSetTopSQLVariables(c *C) {

// Test for hide top sql variable in show variable.
tk.MustQuery("show variables like '%top_sql%'").Check(testkit.Rows())
tk.MustQuery("show global variables like '%top_sql%'").Check(testkit.Rows())
tk.MustQuery("show global variables like '%top_sql%'").Check(testkit.Rows("tidb_enable_top_sql OFF"))
}