Commit Graph

35 Commits

Author SHA1 Message Date
65572559bf *: conn_ip_example plugin: suggest license (#27684) 2021-08-31 12:30:12 +08:00
5f674e2547 *: Audit plugin should handle errors and stmt start (#27269) 2021-08-20 11:16:01 +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
072cf2791e *: fix some audit log error (#26767) 2021-08-05 19:39:12 +08:00
58f10fecee plugin: migrate test-infra to testify (#26769) 2021-08-04 02:03:06 +08:00
c89d071ae9 plugin/conn_ip_example_test.go: migrate test-infra to testify (#26756) 2021-08-02 12:31:06 +08:00
e7d73718aa *: remove sysvars from plugin API (#26449) 2021-07-26 11:28:15 +08:00
18cbfaac15 *: enable gosimple linter (#24617) 2021-05-14 09:15:38 +08:00
f43f750fb5 plugin: fix linter --enable=deadcode check error (#23163) 2021-03-31 10:23:24 +08:00
24b267d740 plugin, privilege: fix err check (#22998) 2021-03-03 21:32:54 +08:00
2f067c0542 *: redact arguments for Error (#20436) 2020-10-21 14:44:08 +08:00
fa81ec51b4 *: refactor sysvars to allow component registration (#20289) 2020-09-29 14:04:24 +08:00
9f0736ee8b errno: move the error code from the parser/mysql to tidb/errno (#15277) 2020-03-11 15:40:21 +08:00
a7bdb82402 *: Reduce memory operations by simply passing size hint to make (#14922) 2020-02-25 15:44:36 +08:00
465af00b46 *: use new registrable terror (#14606) 2020-02-06 16:40:26 +08:00
a644d67fb2 plugin: support logging rejected connection attempts in audit log (#14594) 2020-02-04 14:08:53 +08:00
7d680b717d plugin: fix static check issues (#13881) 2019-12-05 20:01:02 +08:00
4b830aa7f6 *: Remove unused code (#13674) 2019-11-22 11:37:07 +08:00
ebe8b0989d *: limit a single test function timeout to 4s (#13573) 2019-11-21 13:44:08 +08:00
27426daed4 *: make the version of etcd consistent with pd (#13176)
Signed-off-by: Neil Shen <overvenus@gmail.com>
2019-11-06 12:08:03 +08:00
6d51ad33fd *: Optimize struct memory usage by adjust field order (#11629) 2019-08-13 17:20:53 +08:00
1595c0101e *: replace context.WithValue string key to typed struct{} key (#11675) 2019-08-09 14:11:48 +08:00
bedd1b07b0 plugin: add "exec start-time" to GeneralEvent (#11293) 2019-07-18 19:21:01 +08:00
8104494b91 plugin: support dynamic enable/disable plugins (#11122) 2019-07-09 13:02:50 +08:00
98274ccbf2 plugin: setup connection info in session when audit plugin be enabled (#10923) 2019-06-27 11:29:40 +08:00
c8d1ff7ca6 *: replace 'logutil.Logger(context.Background())' with 'logutil.BgLogger()' (#10866) 2019-06-21 19:13:31 +08:00
2ee59f174d plugin: add unit test for plugin (#10506) 2019-06-10 15:35:08 +08:00
52e67447fb Modify method parameters and return values (#10288) 2019-04-30 14:59:05 +08:00
0313cbbbde plugin: add audit plugin extension point (#9136) 2019-03-25 15:18:34 +08:00
b78490e403 *: use the unified log format for the remaining packages (#9743) 2019-03-22 16:34:47 +08:00
988ffd070b test: fix go vet and run go vet regularly (#9712) 2019-03-18 15:39:37 +08:00
67b5eef13c Update conn_ip_example_test.go (#9409)
Example_LadRunShutdownPlugin has malformed example suffix
2019-02-21 19:18:39 +08:00
84d1513b09 plugin: support flush tidb plugin {name} in tidb-server (#9320) 2019-02-18 13:48:43 +08:00
c3f64b2629 *: tiny update for the whitelist plugin (#9271) 2019-02-12 15:54:45 +08:00
e1381b41e8 plugin: introduce plugin framework (#8788) 2019-01-14 10:08:50 +08:00