Commit Graph

788 Commits

Author SHA1 Message Date
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
72c8e738ef store/driver: update client-go and errors (#29295) 2021-11-02 11:28:52 +08:00
2c69740fde *: support plan replayer load (#29247) 2021-11-01 11:22:51 +08:00
0e16830288 server: add plan replayer dump http api (#29214) 2021-10-29 16:40:51 +08:00
b562dc90e7 executor: refactor plan replayer (#28956) 2021-10-28 15:42:49 +08:00
36bc41ad05 *: reduce object allocation by reuse chunk column (#29064) 2021-10-28 13:14:48 +08:00
1c1cb9db25 *: add the http api and new configuration members for ballast object (#29121) 2021-10-26 21:06:48 +08:00
64167a000f *: Change default for unix socket (#28486) 2021-10-21 00:16:46 +08:00
0e38904a33 server, privilege: Socket authentication (#27561) 2021-10-19 23:44:43 +08:00
9f8c053d06 parser: refactor encode and decode (#28917)
* refactor encoding

* add a simple test case for encoding

Co-authored-by: tangenta <tangenta@126.com>
Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
2021-10-19 15:50:33 +08:00
cc96f59bdb *: rename RECREATOR to REPLAYER (#28826) 2021-10-15 16:23:27 +08:00
a11bb675a1 *: enable golangci-lint asciicheck and bodyclose (#28756) 2021-10-15 16:03:26 +08:00
9eb58c0f90 *: fix typo and address unfinished comment for plan recreator (#28821) 2021-10-15 11:33:26 +08:00
fd42198c39 server: handle clients without authplugin support (#27931) 2021-10-11 23:39:25 +08:00
xhe
94e30df8e2 parser: fix compiling, add unit tests (#28700) 2021-10-11 23:15:25 +08:00
62bc4d5b54 cmd, server: support system variable character_set_results (#27875) 2021-10-11 16:17:25 +08:00
e3e1fb9026 server: clean up code for better understanding (#27877) 2021-09-26 10:30:46 +08:00
c01f1a3c5f config: change tidb_top_sql_agent_address to config top-sql.receiver-address (#28135) 2021-09-22 17:48:45 +08:00
680de922ed *: fix license header (#28085) 2021-09-17 22:26:41 +08:00
c891bf3baa server: migrate test-infra to testify for server/statistics_handler_test.go (#28029) 2021-09-16 15:10:43 +08:00
95ccea5296 server: Cleanup UNIX Socket file (#27886) 2021-09-16 11:42:42 +08:00
84ce75d2e8 server, session: Reduce noise from SELECT...FOR UPDATE NOWAIT (#26845) 2021-09-15 03:10:41 +08:00
b013ecba71 server: migrate test-infra to testify for server/driver_tidb_test.go (#27634) 2021-09-13 18:04:41 +08:00
7c6d04ca50 server: fix missing error metrics for some commands (#27963) 2021-09-13 17:28:40 +08:00
7ffe0ac177 server: do not overwrite the log of handshake error (#27962) 2021-09-13 10:24:39 +08:00
93a75d3f93 server: migrate test-infra to testify for server/util_test.go (#27846) 2021-09-13 08:34:39 +08:00
39a1b43666 *: fix some problems related to notNullFlag (#27697) 2021-09-09 11:04:38 +08:00
22c7d8b129 server: migrate test-infra to testify for server/conn_stmt_test.go (#27756) 2021-09-09 09:52:38 +08:00