Commit Graph

146 Commits

Author SHA1 Message Date
6756bd2ea8 server: Combined fix for authentication issues (#29738) 2021-11-29 18:33:52 +08:00
b87f9d1768 server: migrate test-infra to testify for tidb_test.go (#29535) 2021-11-23 11:15:50 +08:00
52c68908d4 server: fix show problem for kill tidb connection (#24031) (#29212) 2021-11-12 12:45:05 +08:00
fdfba3e4fa expression: Optimize code if else branch logic (#28969) 2021-11-08 11:13:03 +08:00
0e38904a33 server, privilege: Socket authentication (#27561) 2021-10-19 23:44:43 +08:00
xhe
94e30df8e2 parser: fix compiling, add unit tests (#28700) 2021-10-11 23:15:25 +08:00
680de922ed *: fix license header (#28085) 2021-09-17 22:26:41 +08:00
95ccea5296 server: Cleanup UNIX Socket file (#27886) 2021-09-16 11:42:42 +08:00
7ffe0ac177 server: do not overwrite the log of handshake error (#27962) 2021-09-13 10:24:39 +08:00
d05660c834 config, server, executor: Reduce RSA keysize in testing (#27393) 2021-08-30 14:28:13 +08:00
7755d25aba *: Integrate SkyWalking-eyes to check license headers in CI and fix licenses headers (#27198) 2021-08-16 18:52:00 +08:00
73bb7dd2c6 *: Annotations and fixes related to gosec (#26907) 2021-08-09 22:27:15 +08:00
f0d4257ec0 util: Automatically create TLS certificates (#24141) 2021-08-04 15:29:08 +08:00
16d947d7cb server: Add status vars for NotAfter/NotBefore of TLS certs (#26132) 2021-07-21 16:17:35 +08:00
383fb9a132 server: Unix Domain Socket not setting 'localhost' as host (#25914) 2021-07-06 23:53:29 +08:00
b858ce43c0 config, session: make Local Transaction not to affect Stale Read (#25559) 2021-06-22 17:25:22 +08:00
8fb29eb17e kv: move TxnScope into kv (#24715) 2021-05-19 20:01:42 +08:00
b1d134d7d9 txn: Add txn state's view (#22908) 2021-05-12 19:25:40 +08:00
9c75cfa4e2 server, sessionctx: improved mysql compatibility with support for init_connect (#23713) 2021-04-03 02:45:25 +08:00
5f8ec4b904 plugin: fix audit plugin will cause tidb panic (#23803) 2021-04-02 08:07:24 +08:00
fab0b934a4 server: set connection to TCP socket when unix and TCP used (#23463) 2021-03-24 19:11:37 +08:00
6f34626d92 config: add no delay option for tcp connection (#22757) 2021-03-19 19:03:36 +08:00
bc37f088ba *: fix some varcheck lint warnings (#23011) 2021-03-01 15:10:54 +08:00
8357f809ff *: remove some useless codes and do tiny update (#22972) 2021-02-26 19:14:53 +08:00
daf3337a43 oracle: make @@txn_scope only support local and global (#22784) 2021-02-25 15:26:03 +08:00
e360454b2d util: fix Host column of show processlist to host_name:client_port format (#22707) 2021-02-24 18:54:03 +08:00
7f8935a61c server: fix tcp-keep-alive config (#22745)
Signed-off-by: Shuaipeng Yu <jackysp@gmail.com>
2021-02-05 15:13:42 +08:00
825c98f3cc config: use label key instead of txn-scope (#22639)
Signed-off-by: Song Gao <disxiaofei@163.com>
2021-02-04 12:08:15 +08:00
d4796a82fa server: remove TokenLimitGauge and use ConfigStatus instead. (#22590)
Signed-off-by: iosmanthus <myosmanthustree@gmail.com>
2021-01-28 14:58:31 +08:00
f5399b6b55 config: add config metrics (#22586)
Signed-off-by: crazycs520 <crazycs520@gmail.com>
2021-01-28 12:39:00 +08:00
c54932640b server: add token usage gauge for tidb (#22511)
Signed-off-by: iosmanthus <myosmanthustree@gmail.com>
2021-01-27 18:08:31 +08:00
57eef1333b server, sessionctx: add multi statement workaround (#22351) 2021-01-21 15:14:58 +08:00
5d9bb45815 config: add tcp4only for lvs whitelist! (#21552) 2020-12-09 14:44:35 +08:00
d19a21d92a ddl, server, session: make gocritic happy (#21544) 2020-12-08 12:09:48 +08:00
d67a102118 server: return results of ongoing queries when graceful shutdown (#19669) 2020-12-03 14:29:00 +08:00
8eaccd41a9 variable: add txn_scope sys var (#20721) 2020-11-12 11:09:54 +08:00
8d35f17c17 Update the errors dependence to the latest version (#20917) 2020-11-10 09:50:39 +08:00
3ba36dcb76 config, server: Add graceful shutdown option (#20649) 2020-11-03 22:55:32 +08:00
272f964031 executor: support global kill (#17649) 2020-10-27 19:39:20 +08:00
2f067c0542 *: redact arguments for Error (#20436) 2020-10-21 14:44:08 +08:00
bcdb63b258 executor: fix MAX_EXECUTION_TIME doesn't take effect when query INSPECTION_RESULT table (#20375)
Signed-off-by: crazycs520 <crazycs520@gmail.com>
2020-10-13 21:44:31 +08:00
b892fd8391 server: support for client multi-statement option (#19459) 2020-10-12 13:29:12 +08:00
fa81ec51b4 *: refactor sysvars to allow component registration (#20289) 2020-09-29 14:04:24 +08:00
69bfa3bf26 executor, server: reduce connect/disconnect log spam (#19308)
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
Co-authored-by: goroutine <ngaut@users.noreply.github.com>
2020-08-25 19:17:51 +08:00
18b4e2b1a1 schemas: decrease fetchSchemaConcurrency (#18881)
* decrease fetchSchemaConcurrency

* remove useless code

Co-authored-by: Lynn <zimu_xia@126.com>
Co-authored-by: HuaiyuXu <391585975@qq.com>
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-08-20 15:06:40 +08:00
172a2d3214 server: make http test listen on port 0 (#19266) 2020-08-19 23:55:48 +08:00
2b0b34b88e executor: kill tableReader for each connection correctly (#18277) 2020-07-09 18:09:08 +08:00
6d02bc72d9 server: fix SIGSEGV caused by port probing with audit plugin (#16038) 2020-04-03 20:34:30 +08:00
e42c825979 server, session: refine mysql handshake error log (#15731) 2020-03-28 19:18:35 +08:00
7a67ff482b config, server: change the default value of max-server-connections (#15726) 2020-03-26 17:55:13 +08:00