Skip to content

Commit

Permalink
Reverts
Browse files Browse the repository at this point in the history
  • Loading branch information
AlekSi committed Jun 20, 2024
1 parent 0bcae58 commit 84b3ebc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -472,15 +472,15 @@ tasks:
lint:
desc: "Run linters"
cmds:
- go vet -vettool=bin/checkswitch{{exeExt}} ./...
- go vet -vettool=bin/checkcomments{{exeExt}} ./...

- bin/envtool{{exeExt}} shell rmdir tmp/githubcache
- bin/envtool{{exeExt}} shell mkdir tmp/githubcache
- bin/golangci-lint{{exeExt}} run --config=.golangci.yml
- bin/golangci-lint{{exeExt}} run --config=.golangci-new.yml
- bin/go-consistent{{exeExt}} -pedantic ./cmd/... ./internal/... ./build/... ./ferretdb/...

- go vet -vettool=bin/checkswitch{{exeExt}} ./...
- go vet -vettool=bin/checkcomments{{exeExt}} ./...

- bin/task{{exeExt}} -d integration lint
- bin/task{{exeExt}} -d tools lint

Expand Down
2 changes: 1 addition & 1 deletion internal/backends/mysql/collection.go
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ func (c *collection) Stats(ctx context.Context, params *backends.CollectionStats
SELECT
s.index_name,
t.index_length,
FROM information_schema.tables t
FROM information_schema.tables t
JOIN information_schema.statistics s
ON t.table_schema = s.table_schema AND t.table_name = s.table_name
WHERE t.table_schema = ? AND t.table_name IN ?
Expand Down

0 comments on commit 84b3ebc

Please sign in to comment.