File tree Expand file tree Collapse file tree 2 files changed +699
-0
lines changed
statistics/handle/storage Expand file tree Collapse file tree 2 files changed +699
-0
lines changed Original file line number Diff line number Diff line change
1
+ load ("@io_bazel_rules_go//go:def.bzl" , "go_library" , "go_test" )
2
+
3
+ go_library (
4
+ name = "storage" ,
5
+ srcs = [
6
+ "gc.go" ,
7
+ "json.go" ,
8
+ "read.go" ,
9
+ "save.go" ,
10
+ "update.go" ,
11
+ ],
12
+ importpath = "github.com/pingcap/tidb/statistics/handle/storage" ,
13
+ visibility = ["//visibility:public" ],
14
+ deps = [
15
+ "//config" ,
16
+ "//infoschema" ,
17
+ "//parser/ast" ,
18
+ "//parser/model" ,
19
+ "//parser/mysql" ,
20
+ "//parser/terror" ,
21
+ "//sessionctx" ,
22
+ "//sessionctx/stmtctx" ,
23
+ "//sessionctx/variable" ,
24
+ "//statistics" ,
25
+ "//statistics/handle/cache" ,
26
+ "//statistics/handle/lockstats" ,
27
+ "//statistics/handle/util" ,
28
+ "//types" ,
29
+ "//util/chunk" ,
30
+ "//util/compress" ,
31
+ "//util/logutil" ,
32
+ "//util/mathutil" ,
33
+ "//util/memory" ,
34
+ "//util/sqlexec" ,
35
+ "@com_github_klauspost_compress//gzip" ,
36
+ "@com_github_pingcap_errors//:errors" ,
37
+ "@com_github_pingcap_failpoint//:failpoint" ,
38
+ "@com_github_pingcap_tipb//go-tipb" ,
39
+ "@com_github_tikv_client_go_v2//oracle" ,
40
+ "@org_uber_go_zap//:zap" ,
41
+ ],
42
+ )
43
+
44
+ go_test (
45
+ name = "storage_test" ,
46
+ timeout = "short" ,
47
+ srcs = ["read_test.go" ],
48
+ flaky = True ,
49
+ deps = [
50
+ "//parser/model" ,
51
+ "//planner/cardinality" ,
52
+ "//testkit" ,
53
+ "//types" ,
54
+ "@com_github_stretchr_testify//require" ,
55
+ ],
56
+ )
You can’t perform that action at this time.
0 commit comments