Commit Graph

308 Commits

Author SHA1 Message Date
ed1b4cf448 privilege: fix a null pointer error in ConnectionVerification (#42153)
close pingcap/tidb#42151
2023-03-13 21:28:38 +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
0a57d81e9c sysvar: enable resource control by default (#41963)
close pingcap/tidb#41962
2023-03-07 15:33:11 +08:00
dde0c6c849 telemetry: set switch default to false (#41336)
close pingcap/tidb#41335
2023-02-14 15:10:01 +08:00
48bc046fe1 executor: support plan replayer capture remove task (#41258)
close pingcap/tidb#41262
2023-02-11 12:04:02 +08:00
975d177286 *: add resource group name into information_schema.processlist (#40739)
close pingcap/tidb#40724
2023-02-03 22:23:56 +08:00
f0575a847b *: unify wru,rru to ru (#40884)
close pingcap/tidb#40883
2023-02-02 11:47:56 +08:00
556c267758 server, privileges: make tidb_auth_session_token compatible with password expiration and resource group (#40735)
ref pingcap/tidb#40614
2023-01-20 13:51:49 +08:00
280b773206 ddl: prevent dropping in-use resource group (#40716)
ref pingcap/tidb#38825
2023-01-19 18:53:49 +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
22746c0068 privilege,planner/core: add dynamic privilege RESOURCE_GROUP_ADMIN for resource group operation (#40632)
ref pingcap/tidb#38825
2023-01-17 20:47: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
df019ae5ba parser: use identifier as user's resource group name (#40479)
* parser: use identifier as user's resource group name and also fix a drop resource group bug

Signed-off-by: BornChanger <dawn_catcher@126.com>

* executor: fix case

Signed-off-by: BornChanger <dawn_catcher@126.com>

* *: format parser.y

Signed-off-by: BornChanger <dawn_catcher@126.com>

* *: fix store function of resource group

Signed-off-by: BornChanger <dawn_catcher@126.com>

Signed-off-by: BornChanger <dawn_catcher@126.com>
Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
2023-01-12 15:50:34 +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
c354b8bd07 extension: add support for extension to custom table and sysvar privileges (#39137)
close pingcap/tidb#39136
2022-11-15 12:11:55 +08:00
f9c7bbccec *: authentication using tidb_auth_token plugin (#38773)
close pingcap/tidb#38504
2022-11-04 02:54:00 +08:00
0e23da6e7c *: create a user using tidb_auth_token authentication (#38585)
ref pingcap/tidb#38504
2022-10-31 11:47:59 +08:00
93e0d36742 extension: init tidb new extension framework (#38497)
close pingcap/tidb#38496
2022-10-19 21:13:54 +08:00
a6db4b7ed4 privilege/privileges: sort in-memory db privilege table records (#37688)
close pingcap/tidb#37488
2022-09-19 15:55:01 +08:00
1d482db4dd *: Support for tidb_sm3_password authentication (#36193)
close pingcap/tidb#36192
2022-09-08 12:00:57 +08:00
331707cfdc infoschema: check hidden sysvars for SEM (#37587)
close pingcap/tidb#37586
2022-09-04 13:32:26 +08:00
a2cfa5379b *: fix a bug found by jdbc_test (#37492)
close pingcap/tidb#37493
2022-08-31 14:14:24 +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
af989fb6c4 executor: add privilege check for prepare stmt (#36933)
close pingcap/tidb#35784
2022-08-10 21:32:50 +08:00
xhe
9a16a8dd19 *: replace defer clean with t.Cleanup (#36722)
close pingcap/tidb#36721
2022-08-01 17:34:05 +08:00
158ba1a1d9 *: enable part revive for all code (#36703) 2022-08-01 14:02:06 +08:00
e9f3980853 table partition: exchange partition with table enhance (#35749)
close pingcap/tidb#35996
2022-07-21 00:13:09 +08:00
55aea2787d *: use pdqsort to improve sort performance (#34404)
close pingcap/tidb#34250
2022-07-06 13:41:02 +08:00
65e0b8e541 client: KV requests with source label (#34833)
close pingcap/tidb#33963
2022-07-01 19:46:39 +08:00
16df1942d0 *: add timeout for test cases (#35844) 2022-06-30 20:18:38 +08:00
d4dc6b54c6 *: enable staticcheck and prealloc on nogo (#35486)
ref pingcap/tidb#35345
2022-06-22 22:00:37 +08:00
b0b1c7cb3e *: close RecordSet (#35341)
ref pingcap/tidb#31716
2022-06-14 09:56:33 +08:00
395ccbe22d privilege: limit the privileges in memory schemas (#35260)
close pingcap/tidb#35205
2022-06-13 18:42:32 +08:00
06737ecd29 privileges: enable flaky test (#35299)
ref pingcap/tidb#35247
2022-06-11 00:20:31 +08:00
2b4a4c6d7a *: support bazel (#33691)
close pingcap/tidb#34083
2022-06-07 15:22:30 +08:00
810f8ae12e *: remove pingcap/check dependency (#34734)
close pingcap/tidb#28328
2022-05-17 21:38:37 +08:00
0d5ac6f3cb sysvar, config: mapping config settings to system variables. (#33279)
ref pingcap/tidb#32887
2022-04-29 13:20:52 +08:00
1bf64c60f4 *: Refactor FieldType structure (#33569)
close pingcap/tidb#32116
2022-04-26 19:28:51 +08:00
3ddd95906e parser/mysql, privilege/privileges: fix trigger privilege (#32893)
close pingcap/tidb#32891
2022-03-23 11:52:33 +08:00
f6a44bf72c *: add limitation for UserName and HostName. (#33224)
close pingcap/tidb#32682
2022-03-21 16:06:33 +08:00
a3a1e0167f privilege/privileges, server: stabalize tests (#33246)
close pingcap/tidb#33245
2022-03-21 15:04:32 +08:00
0e0243c1e0 main: fix @@hostname always returns localhost (#33064)
close pingcap/tidb#32918
2022-03-17 20:16:31 +08:00
6b2e37f18c gomod: update dependency for golang1.18 (#33053)
ref pingcap/tidb#32874
2022-03-17 15:10:31 +08:00
c40d9c4781 testutil: move testutil.CompareUnorderedStringSlice to new package (#32916)
close pingcap/tidb#32912
2022-03-08 20:01:49 +08:00
266efdf36b *: modify topsql variable should check RESTRICTED_VARIABLES_ADMIN privilege when sem is enabled (#32664)
close pingcap/tidb#32663
2022-03-02 11:47:45 +08:00
9e90552a4a privileges: clean up pingcap/check deps (#32602)
close pingcap/tidb#32598
2022-02-25 17:47:44 +08:00
5988d0b2f4 *: update client-go and etcd version (#32457)
close pingcap/tidb#32456
2022-02-22 11:11:43 +08:00
dc969f0eb8 executor: Add replace support for LOAD DATA (#31303)
ref pingcap/tidb#24515
2022-01-18 12:31:44 +08:00