Commit Graph

23 Commits

Author SHA1 Message Date
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