Skip to content

Commit 6b52b39

Browse files
committed
Comment out unused code
1 parent 0c2d5a9 commit 6b52b39

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

server/ast/alter_table.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,12 @@ func nodeAlterTable(ctx *Context, node *tree.AlterTable) (vitess.Statement, erro
4545
}
4646

4747
// Otherwise emit warnings now, then return an AlterTable statement
48-
//lint:ignore SA9003 For future use
49-
if len(noOps) > 0 {
50-
// TODO: we don't have a way to send or store the warnings alongside a valid AlterTable statement. We could either
51-
// get a *sql.Context here and emit warnings, or we could store the warnings in the Context and make the caller
52-
// emit them before it sends |ReadyForQuery|
53-
}
48+
// TODO: we don't have a way to send or store the warnings alongside a valid AlterTable statement. We could either
49+
// get a *sql.Context here and emit warnings, or we could store the warnings in the Context and make the caller
50+
// emit them before it sends |ReadyForQuery|
51+
// if len(noOps) > 0 {
52+
// emit warnings
53+
// }
5454

5555
return &vitess.AlterTable{
5656
Table: tableName,

0 commit comments

Comments
 (0)