Commit Graph

226 Commits

Author SHA1 Message Date
9232aac873 executor: Fix coroutine leak after kill remote connection (#46035)
close pingcap/tidb#46034
2023-08-14 09:27:35 +00:00
c46da07be7 *: global runaway watch by system table and impl exector for query watch (#45465)
ref pingcap/tidb#43691
2023-08-01 06:14:37 +00:00
7e8bb1bb08 *: add query watch stmt for manul management of runaway watch (#45500)
ref pingcap/tidb#43691
2023-07-26 09:12:11 +00:00
b1feeca170 linter: enable revive for executor (#45504)
ref pingcap/tidb#40786
2023-07-24 03:22:18 +00:00
30cafb3c3a executor: refactor executor and baseExecutor (#45065)
ref pingcap/tidb#44940
2023-07-03 07:56:12 +00:00
1837efe528 resource_control: use const default resource group name (#44526)
ref pingcap/tidb#43691
2023-06-13 08:37:15 +00:00
c7f2a2317d linter: enable early return (#44564)
close pingcap/tidb#40786
2023-06-12 05:43:05 +00:00
6ba05018df executor: global kill 32bits (local connID part) (#25385)
ref pingcap/tidb#8854
2023-06-06 08:27:42 +00:00
a98e98e2ab executor: disable password validation for tidb_auth_token users (#44101)
close pingcap/tidb#44098
2023-05-24 07:59:39 +00:00
f09d950add executor,util: Correct error for MAX_EXECUTION_TIME (#43041)
close pingcap/tidb#43031
2023-05-18 16:33:36 +00:00
7caffd9ba4 privilege, server: support LDAP authentication (#43582)
close pingcap/tidb#43580
2023-05-10 14:51:21 +00:00
b1e6fe72f3 planner: non-prep and prep statements use the same unified plan cache (#43094)
ref pingcap/tidb#36598
2023-04-17 22:51:26 +08:00
ea243088e1 load data: move param and some init logic into importer pkg (#42075)
ref pingcap/tidb#40499
2023-03-13 18:58:40 +08:00
7cd2029773 session: support set current session's resource group name (#41722)
ref pingcap/tidb#38825
2023-03-06 23:29:11 +08:00
723526708d metrics: attach const label keyspace_id (#41693)
close pingcap/tidb#41698
2023-03-04 00:03:10 +08:00
31e1aab5f0 *: Standardize use of conn_id=, connID= and conn= in messages (#41700)
close pingcap/tidb#41699
2023-02-23 23:13:07 +08:00
2baf8c2e4f metric: seperate the internal and external transaction metrics (#41206)
ref pingcap/tidb#41203
2023-02-12 11:08:01 +08:00
975d177286 *: add resource group name into information_schema.processlist (#40739)
close pingcap/tidb#40724
2023-02-03 22:23:56 +08:00
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