Skip to content

Commit

Permalink
*: enable revive for more components (pingcap#36296)
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkingrei authored Jul 19, 2022
1 parent d90cee5 commit 0026324
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 3 additions & 0 deletions build/nogo_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,9 @@
".*_generated\\.go$": "ignore generated code"
},
"only_files": {
"lock/": "lock file",
"errno/": "errno code",
"structure/": "structure code",
"telemetry/": "telemetry code",
"util/": "util code",
"parser/": "parser code",
Expand Down
1 change: 0 additions & 1 deletion lock/lock.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ func (c *Checker) CheckTableLock(db, table string, privilege mysql.PrivilegeType
}
}
}

}

if !alterWriteable && c.ctx.HasLockedTables() {
Expand Down

0 comments on commit 0026324

Please sign in to comment.