Static check: fix cases for `errcheck`; (#2527)
* Static check: fix cases for `errcheck`; * Panic for non-handling error;
Showing
- cmd/db-server/main.go 14 additions, 4 deletionscmd/db-server/main.go
- pkg/container/batch/batch.go 3 additions, 1 deletionpkg/container/batch/batch.go
- pkg/frontend/mysql_cmd_executor.go 3 additions, 1 deletionpkg/frontend/mysql_cmd_executor.go
- pkg/rpcserver/codec.go 3 additions, 1 deletionpkg/rpcserver/codec.go
- pkg/rpcserver/server.go 1 addition, 0 deletionspkg/rpcserver/server.go
- pkg/sql/colexec/connector/connector.go 3 additions, 1 deletionpkg/sql/colexec/connector/connector.go
- pkg/sql/colexec/order/order.go 7 additions, 2 deletionspkg/sql/colexec/order/order.go
- pkg/sql/colexec2/order/order.go 6 additions, 2 deletionspkg/sql/colexec2/order/order.go
Please register or sign in to comment