Commit Graph

815 Commits

Author SHA1 Message Date
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
0f86a53d41 server: fix bug https://asktug.com/t/topic/213082/11 (#29577) 2021-11-23 15:17:50 +08:00
b87f9d1768 server: migrate test-infra to testify for tidb_test.go (#29535) 2021-11-23 11:15:50 +08:00
e2e6e5561b encoding: refactor the character encoding (#29935) 2021-11-22 16:59:49 +08:00
5293ea3c0a server: fix unstable test TestDumpStatsAPI (#29835) 2021-11-17 10:37:46 +08:00
52c68908d4 server: fix show problem for kill tidb connection (#24031) (#29212) 2021-11-12 12:45:05 +08:00
2a89d126bc variable: make the default value of wait_timeout the same as MySQL (#29569) 2021-11-11 14:41:05 +08:00
fdfba3e4fa expression: Optimize code if else branch logic (#28969) 2021-11-08 11:13:03 +08:00
b74c13a898 *: run go fmt in go1.17 (#28784) 2021-11-05 12:33:03 +08:00
a696b43bc9 server: migrate test-infra to testify for http_handler_test.go (#29374) 2021-11-04 18:33:02 +08:00
a0cd121f19 copr: do not hide original error for MPP query that will not faillback to TiKV (#29342) 2021-11-03 16:25:01 +08:00
55a38a1c76 *: tiny clean up the RecordSet NewChunk() method (#29232) 2021-11-02 20:02:51 +08:00
4876801e73 server: let plan replayer support forward request (#29299) 2021-11-02 12:34:51 +08:00