Skip to content

Commit f3d1ad9

Browse files
committed
fix case
Signed-off-by: guo-shaoge <shaoge1994@163.com>
1 parent 1b291cd commit f3d1ad9

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

pkg/server/internal/testserverclient/server_client.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2581,6 +2581,10 @@ func (cli *TestServerClient) RunTestInitConnect(t *testing.T) {
25812581
// and not internal SQL statements. Thus, this test is in the server-test suite.
25822582
func (cli *TestServerClient) RunTestInfoschemaClientErrors(t *testing.T) {
25832583
cli.RunTestsOnNewDB(t, nil, "clientErrors", func(dbt *testkit.DBTestKit) {
2584+
dbt.MustExec("set @@tidb_enable_cache_prepare_stmt = off")
2585+
defer func() {
2586+
dbt.MustExec("set @@tidb_enable_cache_prepare_stmt = default")
2587+
}()
25842588
clientErrors := []struct {
25852589
stmt string
25862590
incrementWarnings bool

0 commit comments

Comments
 (0)