Commit Graph

169 Commits

Author SHA1 Message Date
cbe228fe50 hint: fix the problem that set var hint is invalid when create binding (#40569)
close pingcap/tidb#40570
2023-01-13 18:29:47 +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
5327d07afc planner: refactor plan-cache UseCache flag (#40256)
ref pingcap/tidb#36598
2023-01-03 17:30:20 +08:00
fc3f04b7b6 parser: support keep_order and no_keep_order hint (#39965)
ref pingcap/tidb#39964
2022-12-21 22:16:55 +08:00
62a80014bd parser: support syntax set binding status by sql digest (#39515)
ref pingcap/tidb#39199
2022-12-14 22:42:52 +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
202f72389a planner: support create binding from history (#39436)
ref pingcap/tidb#39199
2022-12-01 19:50:03 +08:00
adcacd8d89 planner: support drop binding by sql digest (#39399)
ref pingcap/tidb#39199
2022-11-30 21:02:01 +08:00
9c48480180 parser, executor: implement plan replayer capture statement (#39181)
ref pingcap/tidb#38779
2022-11-17 23:09:56 +08:00
c39506486a planner: add more test cases for view hint (#39126)
ref pingcap/tidb#37887
2022-11-15 14:13: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
431a9d8b66 planner: remove two useless hints mpp_tidb_agg and mpp_scalar_agg (#38574) 2022-10-20 17:31:55 +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
7a9ed6f8c4 planner: introduce some new hints for MPP plans (#38516) 2022-10-19 15:49:54 +08:00
415d03f956 executor: ALTER TABLE COMPACT support partition (#36173)
ref pingcap/tiflash#5315, close pingcap/tidb#36175
2022-09-28 13:41:44 +08:00
df8226339f parser, planner: add query block level no_decorrelate hint (#37633)
close pingcap/tidb#37789
2022-09-20 14:57:04 +08:00
26f4604e45 parser: support plan replayer dump explain file (#37807)
ref pingcap/tidb#37798
2022-09-15 11:52:59 +08:00
1d482db4dd *: Support for tidb_sm3_password authentication (#36193)
close pingcap/tidb#36192
2022-09-08 12:00:57 +08:00
1ffbfcc346 parser: support hash_join_build and hash_join_probe (#37308) 2022-08-29 12:00:22 +08:00
5dc3e58485 planner: introduce the general plan cache (#37150)
ref pingcap/tidb#36598
2022-08-16 20:24:51 +08:00
d6d0ce7b10 *: gofmt code for adapting go 1.19 (#36832)
ref pingcap/tidb#36879
2022-08-11 12:50:49 +08:00
7d744b18e2 planner: remove execID in ExecuteStmt (#36967)
ref pingcap/tidb#36598
2022-08-09 14:10:47 +08:00
42ee03f654 parser: support the hash_build and hash_probe hints (#36615)
ref pingcap/tidb#35439
2022-08-08 12:40:46 +08:00
158ba1a1d9 *: enable part revive for all code (#36703) 2022-08-01 14:02:06 +08:00
eaead0238e parser: add support of 'ADMIN SHOW DDL JOB QUERIES LIMIT m OFFSET n' transferring to AST (#36285)
ref pingcap/tidb#36198
2022-07-22 16:09:09 +08:00
a6b3f3d454 compact: Add syntax for COMPACT command without specifying the replica (#36368)
ref pingcap/tidb#34749
2022-07-20 16:53:09 +08:00
a57dd37640 planner: add a hint for CTE (#34574)
close pingcap/tidb#17472
2022-07-19 14:31:07 +08:00
911e7cc360 *: enable revive (#35970)
ref pingcap/tidb#35345
2022-07-15 16:03:06 +08:00
c578d19c9f parser, ddl: support decoding binary literal in set/enum (#35822)
close pingcap/tidb#31338
2022-06-30 15:36:39 +08:00
c6103886b1 *: enable all gosimples (#35762)
ref pingcap/tidb#35345
2022-06-29 11:54:39 +08:00
255dc8cae3 parser: support the ordered_hash_join hint (#35440)
ref pingcap/tidb#35439
2022-06-17 03:32:35 +08:00
5d4745e9d4 parser, executor: support show/set session_states (#35263)
close pingcap/tidb#35259
2022-06-10 15:24:31 +08:00
b598bd2214 *: support savepoint in transaction (#34466)
close pingcap/tidb#6840
2022-05-30 14:38:27 +08:00
01fb9355d6 executor: add ALTER TABLE COMPACT support (#34741)
ref pingcap/tidb#34749
2022-05-19 00:44:38 +08:00
49aafa5ed6 parser: support explain analyze format='...' (#34416)
ref pingcap/tidb#33945
2022-05-06 17:20:56 +08:00
3e13ef364b parser: support join order hint (#34337)
ref pingcap/tidb#29932
2022-05-05 19:22:55 +08:00
469bc71b0c parser, planner, executor: remove non-mpp broadcast Join (#31459)
close pingcap/tidb#31465
2022-03-11 00:41:50 +08:00
4be9e30b0a bindinfo: rename Using status to Enabled status (#32801)
ref pingcap/tidb#32466
2022-03-07 17:21:49 +08:00
3ac831f64f parser: support 'set binding status for stmt' (#32661)
ref pingcap/tidb#32466
2022-03-02 14:27:45 +08:00
152a00dd79 parser: use utf-8 charset to decode enum binary string literal (#31336)
close pingcap/tidb#30740
2022-01-07 11:22:37 +08:00
17927d489a parser: decode the binary literal value in enum or set (#31231)
close pingcap/tidb#30740
2022-01-04 14:14:35 +08:00
dd95dd6e4c parser: support admin flush plan_cache (#30747) 2021-12-17 17:34:36 +08:00
23af09d8bf *: support trace plan target='estimation' statement (#30491) 2021-12-10 11:43:57 +08:00
723242ad24 parser: support trace plan statement (#29720)
* support trace plan statement

Signed-off-by: yisaer <disxiaofei@163.com>

* fix conflict

Signed-off-by: yisaer <disxiaofei@163.com>

* fix fmt

Signed-off-by: yisaer <disxiaofei@163.com>

Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
2021-11-22 13:09:45 +08:00
ec7a638e33 executor: Fix authplugin handling with alter/create (#28468) 2021-11-02 01:10:51 +08:00
cc96f59bdb *: rename RECREATOR to REPLAYER (#28826) 2021-10-15 16:23:27 +08:00