Commit Graph

50 Commits

Author SHA1 Message Date
47f54603fa executor: close recordset again (#40010) 2022-12-19 11:40:54 +08:00
59cda14a4e *: Support Failed-Login Tracking and Temporary Account Locking (#39322)
close pingcap/tidb#38938
2022-12-10 07:45:44 +08:00
40d1ddb364 *: support password reuse policy (#39162)
ref pingcap/tidb#38937
2022-12-02 09:58:01 +08:00
17c7bcc85e executor: fix the missing Grantor when querying mysql.tables_priv (#38461)
close pingcap/tidb#38293
2022-10-20 11:39:54 +08:00
0f93f7b661 *: close resultSets (#37906) 2022-09-17 13:12:59 +08:00
a06365954f executor: close ResultSet in test (#37787) 2022-09-14 11:14:58 +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
671fe70876 executor: grant privilege to table now check table existence use case insensitive (#36778)
close pingcap/tidb#34610
2022-08-02 13:06:05 +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
e1f9e0affe executor: fix panic when granting privilege to a non-exists user (#35365)
close pingcap/tidb#35310
2022-06-14 16:52:33 +08:00
395ccbe22d privilege: limit the privileges in memory schemas (#35260)
close pingcap/tidb#35205
2022-06-13 18:42:32 +08:00
f6a44bf72c *: add limitation for UserName and HostName. (#33224)
close pingcap/tidb#32682
2022-03-21 16:06:33 +08:00
b4df7ca4dc test: make all the tests run in serial (#30692) 2021-12-14 18:06:36 +08:00
e45387309b executor: fix error msg of granting non-table level privilege (#29321) 2021-11-23 15:05:50 +08:00
a9c249feb1 executor: grant to non-existent table with at least create privilege (#29273) 2021-11-01 09:22:50 +08:00
d69b58f812 executor: migrate test-infra to testify for hash_table_test.go and grant_test.go (#29208) 2021-10-29 14:36:49 +08:00
555907823d executor: support GRANT/REVOKE ON non-existent table (#28882) 2021-10-19 11:40:42 +08:00
xhe
94e30df8e2 parser: fix compiling, add unit tests (#28700) 2021-10-11 23:15:25 +08:00
74b329402d executor: return error for GRANT ALL ON performance_schema.* (#28219) 2021-09-27 21:26:47 +08:00
a7cba16084 privileges: fix case sensitive compare of dbname when grant in table level (#27738) 2021-09-08 13:48:57 +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
xhe
9cf25b6c24 executor: check privilege before adding (#23519) 2021-07-01 10:09:26 +08:00
faf139eae1 executor: Fix losing the auth string on changing SSL/TLS requirements (#25268) 2021-06-10 23:22:29 +08:00
7f4f5c0236 *: Change dynamic privileges to non-experimental (#24914) 2021-05-28 23:29:36 +08:00
18cbfaac15 *: enable gosimple linter (#24617) 2021-05-14 09:15:38 +08:00
dc5c226423 execution: Fix issue 24439 Inconsistent error with MySQL for GRANT CREATE USER ON <specific db>.* (#24485) 2021-05-13 11:15:39 +08:00
90d02b2eed *: add support for dynamic privileges (#22778) 2021-04-01 00:17:24 +08:00
17eca20f18 executor, privilege: fix failure on grant USAGE privilege operation (#22748) 2021-03-02 22:30:54 +08:00
28c9e9290b *: gocritic fixes for commentFormatting (#21578) 2020-12-09 12:03:17 +08:00
8f0091ef17 privilege: fix atomic problem of GRANT and REVOKE (#14219) 2020-03-02 15:58:18 +08:00
e4eb58c86d executor: grant table level privilege should check table exist (#14540) 2020-01-30 11:57:23 +08:00
39ed9f326a executor: Speed up unit tests (#14357) 2020-01-06 21:20:09 +08:00
cd07c4550d *: support certificate based authentication (#13955) 2019-12-23 11:37:29 +08:00
9a074ca8a7 executor: fix inconsistent of grants privileges with MySQL when executing grant all on ... (#12330) 2019-10-23 11:33:53 +08:00
62d37a8356 executor: fix the error message when granting to a non-exist user (#10239) 2019-05-05 22:11:38 +08:00
98b96cc769 executor: speedup unit tests by spliting them into separate suites (#8618) 2018-12-24 21:37:12 +08:00
558e02dbce executor: fix grant operation in ANSI_QUOTES sql mode (#8561) 2018-12-04 20:55:24 +08:00
ce6a7150b3 executor: Support NO_AUTO_CREATE_USER sql mode (#8160) 2018-11-12 13:45:37 +08:00
89dda9d9a8 *: move parser to a separate repository (#8036) 2018-10-25 11:12:10 +08:00
67f920a650 executor: Improve the aesthetics of code review (#6137) 2018-03-31 17:06:19 +08:00
6f9457e373 executor: use tearDownTest instead of defer (#4499) 2017-09-12 01:02:41 -05:00
b4f20e6f0b util/testkit: refine testkit (#3177) 2017-04-29 23:20:49 +08:00
2bac467c0d with some spelling mistakes (#2986) 2017-04-05 10:34:09 +08:00
ef1b2c9ae6 executor: grant statement would create user if not exist (#2756) 2017-03-06 15:04:30 +08:00
92a0b89771 parser: grant select on test.* to 'test' (#2757) 2017-03-01 12:50:40 +08:00
f7c95f3f42 executor: grant statement allow pattern string in db and table name (#2688) 2017-02-22 22:59:18 +08:00
dcc7715ec2 *: support with grant option for grant statement (#2647) 2017-02-16 12:58:07 +08:00
08034540f0 *: Add leak test
* *: add leak test and tiny clean up

* *: unify test format and add leak test

Conflicts:
	store/localstore/compactor_test.go
	mysql/error_test.go
*: add leak test
2016-04-07 20:53:45 +08:00
138a40eca7 *: Support grant stmt in new plan. 2016-02-17 14:51:07 +08:00