Commit Graph

208 Commits

Author SHA1 Message Date
971deb6202 *: add a new I_S table and support show create for resource groups (#40665)
close pingcap/tidb#39781
2023-01-17 23:37:49 +08:00
b8e5460a84 *: add new global variable tidb_enable_resource_control as a switch (#40440)
ref pingcap/tidb#38825
2023-01-12 22:01:46 +08:00
59cda14a4e *: Support Failed-Login Tracking and Temporary Account Locking (#39322)
close pingcap/tidb#38938
2022-12-10 07:45:44 +08:00
8e3cbac057 *: bind user to some resource group (#39561)
ref pingcap/tidb#38825
2022-12-07 19:26:04 +08:00
824ef608c7 *: support password expiration policy (#39035)
ref pingcap/tidb#9709, close pingcap/tidb#38936
2022-12-02 16:36:02 +08:00
40d1ddb364 *: support password reuse policy (#39162)
ref pingcap/tidb#38937
2022-12-02 09:58:01 +08:00
e205f931aa *: support password validation options and variables (#38953)
ref pingcap/tidb#38924, close pingcap/tidb#38928
2022-11-24 20:25:59 +08:00
0722251732 executor: fix a bug that altering user comment doesn't take effect (#39209)
close pingcap/tidb#39207
2022-11-17 19:09:55 +08:00
b0c338139c parser: allow drop stats of multiple tables (#38042)
close pingcap/tidb#37872
2022-11-14 14:45:54 +08:00
0e23da6e7c *: create a user using tidb_auth_token authentication (#38585)
ref pingcap/tidb#38504
2022-10-31 11:47:59 +08:00
9d606cd4fe parser, execution: support kill connection_id() (#37650)
close pingcap/tidb#37261
2022-10-21 16:01:54 +08:00
4699c7d896 *: support ATTRIBUTE and COMMENT in CREATE USER and ALTER USER statements (#38201)
close pingcap/tidb#38172
2022-10-20 14:35:54 +08:00
4e236ab205 executor : fix Revoke role from current_user results error (#37791)
close pingcap/tidb#33144
2022-09-19 22:11:01 +08:00
f78c148e02 txn: forbid savepoint when lazy uniqueness check is enabled (#37817)
ref pingcap/tidb#36579
2022-09-15 10:28:58 +08:00
1d482db4dd *: Support for tidb_sm3_password authentication (#36193)
close pingcap/tidb#36192
2022-09-08 12:00:57 +08:00
a89ef1f276 *: support ACCOUNT (UN)LOCK when creating/altering user (#37052)
close pingcap/tidb#35961, close pingcap/tidb#37051
2022-08-25 16:12:22 +08:00
5dc3e58485 planner: introduce the general plan cache (#37150)
ref pingcap/tidb#36598
2022-08-16 20:24:51 +08:00
244b353a11 planner: support session level for the variable tidb_enable_prepared_plan_cache (#36923)
ref pingcap/tidb#36598
2022-08-08 11:18:47 +08:00
0b1d3e0da3 *: cleanup sysvar API usage (#36640)
close pingcap/tidb#36639
2022-08-02 07:54:04 +08:00
158ba1a1d9 *: enable part revive for all code (#36703) 2022-08-01 14:02:06 +08:00
e50b9430fc *: enable gci (#35823)
ref pingcap/tidb#35345
2022-07-04 14:53:02 +08:00
65e0b8e541 client: KV requests with source label (#34833)
close pingcap/tidb#33963
2022-07-01 19:46:39 +08:00
4fc9551dd1 sessionctx, types, executor: support encoding and decoding user-defined variables (#35343)
close pingcap/tidb#35288
2022-06-15 21:02:34 +08:00
5d4745e9d4 parser, executor: support show/set session_states (#35263)
close pingcap/tidb#35259
2022-06-10 15:24:31 +08:00
b6129af831 *: delete from mysql.columns_priv when drop a user (#35100)
close pingcap/tidb#35059
2022-06-08 21:18:31 +08:00
69b573ca7d executor: fix compatibility issue of release savepoint (#35064)
close pingcap/tidb#35063
2022-06-01 15:20:27 +08:00
b598bd2214 *: support savepoint in transaction (#34466)
close pingcap/tidb#6840
2022-05-30 14:38:27 +08:00
3d3a04e12a executor: fix drop global stats (#34820)
close pingcap/tidb#34815
2022-05-19 18:22:39 +08:00
d2ada35afa *: move config file option require_secure_transport to sysvar (#34261)
ref pingcap/tidb#33769
2022-05-17 22:02:37 +08:00
a3193a88c1 *: change global kill config and add telemetry (#34733)
ref pingcap/tidb#8854
2022-05-17 21:20:38 +08:00
2258bc54c4 txn: Add EnterNewTxn and OnStmtStart methods to TxnManager (#34263)
close pingcap/tidb#34390
2022-05-07 21:02:32 +08:00
d3a02f416a executor: flush statement should trigger implicit commit (#34134)
close pingcap/tidb#34180
2022-04-24 17:38:48 +08:00
f6a44bf72c *: add limitation for UserName and HostName. (#33224)
close pingcap/tidb#32682
2022-03-21 16:06:33 +08:00
2e1cff73f3 *: add ExecRestrictedSQL() func for RestrictedSQLExecutor interface (#31618)
ref pingcap/tidb#30918
2022-01-24 21:30:11 +08:00
2bbeebd0d4 store: forbid collecting info if enable-collect-execution-info disabled (#31282)
close pingcap/tidb#31038
2022-01-06 21:54:38 +08:00
5cd37f0008 session: fix data race in ParseWithParamsInternal (#31058)
close pingcap/tidb#30918
2022-01-06 21:02:37 +08:00
abb6582910 planner: support 'admin flush plan cache' (#30370) 2021-12-27 14:57:49 +08:00
23c71f1a3b execute: don't transform charset in internal sql (#30843)
close pingcap/tidb#30789
2021-12-20 17:15:46 +08:00
9843ff96e5 executor: fix drop role failed after revoke role from current user (#29814) 2021-11-19 15:23:48 +08:00
#7
8f7ed14050 executor: fix drop role not work as expected in the show result. (#29667) 2021-11-15 09:41:06 +08:00
898ef6e6ed executor: fix show grants failed after drop granted role (#29494) 2021-11-10 11:17:05 +08:00
dc67b57c5e *: fix nil pointer panic of some operations when skip-grant-table is true (#29358) 2021-11-03 15:09:00 +08:00
55a38a1c76 *: tiny clean up the RecordSet NewChunk() method (#29232) 2021-11-02 20:02:51 +08:00
ec7a638e33 executor: Fix authplugin handling with alter/create (#28468) 2021-11-02 01:10:51 +08:00
#7
ad75d08f86 executor: query user and role, hostname should be lowercase (#28880) 2021-10-27 11:26:48 +08:00
#7
e717f10282 executor: hostnames for users should be stored in lowercase (#28741) 2021-10-14 22:01:26 +08:00
6553404bb2 *: fix regression from FLUSH PRIVILEGES fix (#28736) 2021-10-13 11:19:26 +08:00
xhe
94e30df8e2 parser: fix compiling, add unit tests (#28700) 2021-10-11 23:15:25 +08:00
226dc809d6 executor: support SET PASSWORD FOR CURRENT_USER() (#28556) 2021-10-08 10:27:23 +08:00
e52dbd6b7d domain, executor: make flush privilege propagate via etcd (#27958) 2021-09-30 13:34:47 +08:00