From 7dc9eb618d326033a63266e9b9695559b6b02af8 Mon Sep 17 00:00:00 2001 From: AilinKid <314806019@qq.com> Date: Mon, 9 Mar 2020 13:37:26 +0800 Subject: [PATCH] . --- ddl/sequence_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/ddl/sequence_test.go b/ddl/sequence_test.go index c58dd9e5ef729..db21946631cbd 100644 --- a/ddl/sequence_test.go +++ b/ddl/sequence_test.go @@ -34,6 +34,7 @@ type testSequenceSuite struct{ *testDBSuite } func (s *testSequenceSuite) TestCreateSequence(c *C) { s.tk = testkit.NewTestKit(c, s.store) s.tk.MustExec("use test") + s.tk.MustExec("drop sequence if exists seq") s.tk.MustGetErrCode("create sequence `seq `", mysql.ErrWrongTableName) // increment should not be set as 0.