File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -153,7 +153,7 @@ func (s *testSequenceSuite) TestDropSequence(c *C) {
153153 c .Assert (err , NotNil )
154154 c .Assert (err .Error (), Equals , "[planner:1142]DROP command denied to user 'localhost'@'myuser' for table 'my_seq'" )
155155
156- // test for if exists.
156+ // Test for `drop sequence if exists` .
157157 s .tk .MustExec ("drop sequence if exists seq_if_exists" )
158158 s .tk .MustQuery ("show warnings;" ).Check (testkit .Rows ("Note 4139 Unknown SEQUENCE: 'test.seq_if_exists'" ))
159159}
Original file line number Diff line number Diff line change @@ -174,7 +174,7 @@ func (s *testSuite6) TestCreateTable(c *C) {
174174 r = tk .MustQuery ("select * from create_auto_increment_test;" )
175175 r .Check (testkit .Rows ("1000 aa" ))
176176
177- // test for drop if exists.
177+ // Test for ` drop table if exists` .
178178 tk .MustExec ("drop table if exists t_if_exists;" )
179179 tk .MustQuery ("show warnings;" ).Check (testkit .Rows ("Note 1051 Unknown table 'test.t_if_exists'" ))
180180 tk .MustExec ("create table if not exists t1_if_exists(c int)" )
@@ -261,7 +261,7 @@ func (s *testSuite6) TestCreateView(c *C) {
261261 tk .MustExec ("create view v as (select * from t1 union select * from t2)" )
262262 tk .MustExec ("drop view v" )
263263
264- // test for drop if exists.
264+ // Test for ` drop view if exists` .
265265 tk .MustExec ("drop view if exists v_if_exists;" )
266266 tk .MustQuery ("show warnings;" ).Check (testkit .Rows ("Note 1051 Unknown table 'test.v_if_exists'" ))
267267 tk .MustExec ("create view v1_if_exists as (select * from t1)" )
You can’t perform that action at this time.
0 commit comments