Commit Graph

145 Commits

Author SHA1 Message Date
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
11974ecd2c server: Port missing in processlist (#30183) 2021-11-29 14:11:51 +08:00
b87f9d1768 server: migrate test-infra to testify for tidb_test.go (#29535) 2021-11-23 11:15:50 +08:00
b74c13a898 *: run go fmt in go1.17 (#28784) 2021-11-05 12:33:03 +08:00
55a38a1c76 *: tiny clean up the RecordSet NewChunk() method (#29232) 2021-11-02 20:02:51 +08:00
64167a000f *: Change default for unix socket (#28486) 2021-10-21 00:16:46 +08:00
a11bb675a1 *: enable golangci-lint asciicheck and bodyclose (#28756) 2021-10-15 16:03:26 +08:00
xhe
94e30df8e2 parser: fix compiling, add unit tests (#28700) 2021-10-11 23:15:25 +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
39a1b43666 *: fix some problems related to notNullFlag (#27697) 2021-09-09 11:04:38 +08:00
d5fbf1bf70 server: Fix TestTLSAuto stability (#27744) 2021-09-02 11:54:14 +08:00
d05660c834 config, server, executor: Reduce RSA keysize in testing (#27393) 2021-08-30 14:28:13 +08:00
8a1e9b93e2 server: migrate packetIO related tests to testify (#27042) 2021-08-18 12:39:59 +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
da8bb5ea8c server: replace ioutil.TempDir by os.MkdirTemp (#27226) 2021-08-16 09:55:58 +08:00
124b825216 server: Split TestTLS (#27108) 2021-08-13 23:29:58 +08:00
15ca38632a server, test: add missing TearDownSuite() (#26891) 2021-08-04 15:57:07 +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
ecfdf703b2 *: make test TestCollectInternal stable (#26346) 2021-07-20 16:27:35 +08:00
84887df9aa privileges: use UPPER case for privileges in SHOW GRANT (#26360) 2021-07-20 13:31:34 +08:00
383fb9a132 server: Unix Domain Socket not setting 'localhost' as host (#25914) 2021-07-06 23:53:29 +08:00
9e8bb505e1 test: make test TestTopSQLCPUProfile stable by mock high cpu usage (#25702) 2021-06-25 19:55:24 +08:00
ddfc0bd8cf *: fix wrong resource tag of transaction commit statement (#25616) 2021-06-23 15:31:22 +08:00
9a2e5f99a6 test: make test TestTopSQLCPUProfile stable by avoid write conflict (#25681) 2021-06-23 11:45:22 +08:00
8c33190dd7 linter: fix linter error when make dev locally (#25661) 2021-06-23 11:19:22 +08:00
9dc8af3d75 test: make test TestTopSQLCPUProfile stable (#25651) 2021-06-22 14:12:53 +08:00
7cafe813a0 server: try to make test TestTopSQLAgent stable (#25399) 2021-06-21 16:38:53 +08:00
5b392334c6 *: temporarily skip some unstable test cases. (#25548) 2021-06-18 14:24:38 +08:00
f4e608b8ba util: improve TopSQL reporter memory efficiency (#25195) 2021-06-11 13:16:35 +08:00
11f68a9d28 planner: skip some unstable test cases (#25155)
* fixup
2021-06-04 17:33:19 +08:00
7811bf9a37 *: use pprof profile to collect CPU time group by SQL and plan digest (#24892) 2021-06-02 12:51:39 +08:00
39bd181213 *: Upgrade to go 1.16 && remove deprecated io/ioutil (#24527) 2021-05-25 12:07:34 +08:00
9c75cfa4e2 server, sessionctx: improved mysql compatibility with support for init_connect (#23713) 2021-04-03 02:45:25 +08:00
76d48c1fec executor, server: load_data.go is changed and add unit test (#23201) 2021-03-29 15:45:24 +08:00
fab0b934a4 server: set connection to TCP socket when unix and TCP used (#23463) 2021-03-24 19:11:37 +08:00
3cfb984211 server: fix err check (#22999) 2021-03-18 10:28:56 +08:00
c4f398948c *: add infoschema client errors (#22382) 2021-03-11 19:06:55 +08:00
d6a2b9a372 server: add tests for empty query hang (#22740) 2021-02-11 10:46:42 +08:00
8ddaf03db1 executor: fix load data losing connection when batch_dml_size is set (#22724) 2021-02-05 10:51:42 +08:00
8ef1031623 *: remove tidb-lightning pkg to fix unexpected config change (#22164) 2021-01-06 14:17:34 +08:00
a02660e2dd *: fix tiny bug and add more DML test for list partition table (#21423)
Signed-off-by: crazycs520 <crazycs520@gmail.com>
2020-12-11 21:32:22 +08:00
e87d9d75d8 session: set default connect collation to utf8mb4_bin (#21179) 2020-12-10 15:33:22 +08:00
d19a21d92a ddl, server, session: make gocritic happy (#21544) 2020-12-08 12:09:48 +08:00
ba57d5c34e ddl: fix a bug that doesn't add NoDefaultValueFlag when creating a table (#21468)
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
2020-12-03 17:46:18 +08:00
ab9ddcce4a executor: fix issue of explain for connection can't show the last query plan (#21242) 2020-11-26 14:19:17 +08:00
aa9f7584f8 server: remove prepare stmt if no retry in stmt close() (#20867)
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
2020-11-19 16:20:33 +08:00
ae5dc3f69a executor: fix issue of load data statement doesn't record into slow query and statements_summary (#20713)
Signed-off-by: crazycs520 <crazycs520@gmail.com>
2020-11-04 16:27:01 +08:00
3ba36dcb76 config, server: Add graceful shutdown option (#20649) 2020-11-03 22:55:32 +08:00