Commit Graph

827 Commits

Author SHA1 Message Date
2207b26e19 topsql: rename topsql related variable and remove useless variable (#31599)
close pingcap/tidb#31433
2022-01-18 18:15:44 +08:00
34ce5b5e60 topsql: optimize life cycle of stmtstats (#31727)
ref pingcap/tidb#31704
2022-01-17 21:11:45 +08:00
4fd9f789e5 *: remove useless else (#31715)
ref pingcap/tidb#31716
2022-01-17 17:11:44 +08:00
06127880e2 test: do not overwrite the log config in other tests (#31019) 2022-01-15 00:13:42 +08:00
aabd4e04d9 test: public RunInGoTest for mock store (#31578)
close pingcap/tidb#31579
2022-01-13 13:25:42 +08:00
aa7ad03bcd executor: add timestamp to a log (#31013)
close pingcap/tidb#31012
2022-01-11 11:49:43 +08:00
6b1010f405 *: enable golangci-lint prealloc (#31521)
close pingcap/tidb#29004
2022-01-11 01:09:41 +08:00
946fa58418 server, types: rule out JSON types from new charset framework (#31388)
close pingcap/tidb#31366
2022-01-10 15:29:41 +08:00
0c19f92741 encoding: refactor transform to avoid the misuse buffer (#31480)
close pingcap/tidb#31488
2022-01-10 12:13:41 +08:00
8c70432b00 topsql: add exec count dedicated to sql duration (#31378)
close pingcap/tidb#31379
2022-01-08 01:20:38 +08:00
45879b5f1a server: filter the EOF error for normal closed at handshake (#31081)
close pingcap/tidb#31063
2021-12-31 18:27:51 +08:00
974b5784ad topsql: make topsql enable only be controlled by pub/sub sink (#31209) 2021-12-31 16:49:20 +08:00
25d6301327 *: fix bug of profiling conflict between TopSQL and pprof profile HTTP API (#30891)
close pingcap/tidb#30890
2021-12-31 11:07:50 +08:00
8a83d01ac6 topsql: add sql sum execution duration information (#31143) 2021-12-30 10:53:50 +08:00
f672f5c8f1 server: improve the memory usage of schemaHandler's ServeHTTP to avoid OOM (#30970)
close pingcap/tidb#30969
2021-12-29 20:09:50 +08:00
e9ab05f90f topsql: move topsql variable to topsql/state for avoid import cycle (#31134)
close pingcap/tidb#31136
2021-12-29 19:51:50 +08:00
xhe
e02089d5af server: fix panic when using cursorfetch (#31008)
close pingcap/tidb#30896
2021-12-29 17:49:50 +08:00
5e031442d9 executor: enhance the strategy of the sampling rate calculation (#31016)
ref tikv/tikv#11669
2021-12-28 20:47:49 +08:00
61d13b561c encoding: skip utf8 charset validation in some cases (#31061)
close pingcap/tidb#31014
2021-12-28 17:51:49 +08:00
b813b373b9 server: support com_stmt_sendlongdata with character_set_client (#31055)
close pingcap/tidb#30801
2021-12-28 10:33:49 +08:00
9ad00962f6 test: merge serial tests in cmd, planner, server, util (#31003) 2021-12-24 20:21:53 +08:00
3de13842b3 test: control log level with environment variables (#30871) 2021-12-24 17:03:48 +08:00
0d899cdd9e planner: remove bindSQL from planCacheKey to planCacheValue (#30916) 2021-12-23 16:37:47 +08:00
713e6994db planner: rename pstmtPlanCacheXX to PlanCacheXX (#30909) 2021-12-22 18:59:48 +08:00
feee7c258a server: Add uptime status var and statistics (#29790)
close pingcap/tidb#8842
2021-12-21 17:53:48 +08:00
a8a858bac2 topsql: add pubsub datasink (#30860) 2021-12-21 16:17:47 +08:00
ab35db14a6 *: refactor encoding and uniform usages (#30288) 2021-12-20 15:27:46 +08:00
c0888f5421 topsql: support multiple datasinks (#30808) 2021-12-18 00:32:36 +08:00
d208b62025 topsql: a centralized place to generate tipb report data (#30781) 2021-12-16 16:06:35 +08:00
eed16a6cb4 server: add grpc server config for a suitable behavior (#30774) 2021-12-16 15:18:36 +08:00
af259faacf planner: support the plan cache aware of bindings (#30169) 2021-12-16 10:18:35 +08:00
05b9960390 server: disable socket listener for basicHTTPHandlerTestSuite (#30680) 2021-12-16 10:06:35 +08:00
04a9618f5c server: support decoding prepared string args to character_set_client (#30723) 2021-12-15 12:14:34 +08:00
950a274afc golangci-lint: support durationcheck (#30027) 2021-12-14 21:10:35 +08:00
e9b1fb8ab5 topsql: introduce datasink interface (#30662) 2021-12-14 19:22:34 +08:00
b4df7ca4dc test: make all the tests run in serial (#30692) 2021-12-14 18:06:36 +08:00
626dee7250 server: try to make TidbTestSuite more stable (#30643) 2021-12-12 11:39:57 +08:00
xhe
6a4331792d server: fix prepared cursor select (#30285) 2021-12-09 14:03:57 +08:00
53f33fa1a3 server: close sql rows to fix unstable test (#30306) 2021-12-07 12:03:55 +08:00
d7c2333e63 server: Fix unstable tests with FakeAuthSwitch (#30287) 2021-12-06 18:13:55 +08:00
d3ba0c2730 server: refine code logic in handleDownloadFile (#30422)
* refine logic

Signed-off-by: yisaer <disxiaofei@163.com>

* fix

Signed-off-by: yisaer <disxiaofei@163.com>
2021-12-06 13:12:33 +08:00
7746b6b70a test: fix incorrect regexp pattern during migrating test (#30080) 2021-12-02 05:51:53 +08:00
7c5e854f1a privilege,session: Match loopback connections to 'localhost' accounts (#29995) (#30189) 2021-12-01 15:29:53 +08:00
7fc6ebbda4 privilege, session, server: consistently map user login to identity (#30204) 2021-11-30 17:01:53 +08:00
6756bd2ea8 server: Combined fix for authentication issues (#29738) 2021-11-29 18:33:52 +08:00
10d390d47d server: add build not race flag (#30184) 2021-11-29 14:23:51 +08:00
11974ecd2c server: Port missing in processlist (#30183) 2021-11-29 14:11:51 +08:00
7a8c7f89ce server: support download optimize trace file (#30150) 2021-11-26 16:53:51 +08:00
a9f161d515 plugin: add more tests to cover audit logs (#30165) 2021-11-26 15:05:50 +08:00
a8ca637100 server: Add a MockConn to enable testing connections (#30119) 2021-11-25 11:41:50 +08:00