Commit Graph

1543 Commits

Author SHA1 Message Date
8d9647dee5 privileges: fix create temporary tables privilege (#29279) 2021-11-01 16:46:51 +08:00
11b61738f3 parser: migrate test-infra to testify (#29191) 2021-10-28 12:30:49 +08:00
9a780a2138 parser: migrate test-infra to testify (#29087) 2021-10-27 19:28:49 +08:00
a3f3924388 parser: support analyze/stats options when create/alter table (#29056) 2021-10-27 14:54:49 +08:00
63d5b02496 DDL: Support skip placement validation (#29016) 2021-10-27 13:10:49 +08:00
1777bd0e86 ddl : support alter table xx cache operations (#29022) 2021-10-25 22:08:48 +08:00
1bde14a6e9 *: Finish alter placement for objects (#28982) 2021-10-25 20:54:49 +08:00
b332a085a3 parser: add new analyze option SAMPLERATE (#28961) 2021-10-25 16:04:48 +08:00
412dd4f763 parser: refactor Parse() interface to make it extensible (#28975) 2021-10-21 10:56:45 +08:00
549fac6b26 parser: support the 'alter table xx cache' and 'alter table xx nocache' (#28922) 2021-10-21 10:36:45 +08:00
acb3a89634 expression, parser: fix the result of trim3Args (#28936) 2021-10-19 21:00:43 +08:00
9f8c053d06 parser: refactor encode and decode (#28917)
* refactor encoding

* add a simple test case for encoding

Co-authored-by: tangenta <tangenta@126.com>
Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
2021-10-19 15:50:33 +08:00
ad8fbb4549 parser: remove souspicious switch break in lexer (#28885) 2021-10-19 14:42:43 +08:00
271df167fb *: Support Reset database placement options by ALTER (#28463) 2021-10-18 22:48:42 +08:00
fce1a03e40 parser: analyze predicate/user-specified columns and show column_stats_usage (#28846) 2021-10-18 16:52:43 +08:00
39d5f8e16f *: Delete circle.yml (#28886) 2021-10-18 14:00:43 +08:00
42001503cb expression, parser: support GBK charset for builtin function lower() (#28869) 2021-10-15 18:02:41 +08:00
cc96f59bdb *: rename RECREATOR to REPLAYER (#28826) 2021-10-15 16:23:27 +08:00
ac9dcbb53f expression: support GBK charset for builtin function upper() (#28817) 2021-10-15 15:29:27 +08:00
7700bd2fd5 parser: add "second syntax" for REVOKE (#28738) 2021-10-14 12:03:27 +08:00
c1ec51e049 privilege: add Event and Routine privilege on db level (#28690) 2021-10-13 14:07:27 +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
9b13dc409c *: Delete parser/.github directory (#28685) 2021-10-11 11:11:25 +08:00
xhe
fc964cf92e [parser]: modify module name
Signed-off-by: xhe <xw897002528@gmail.com>
2021-10-09 14:53:23 +08:00
77e63887f2 [parser] mysql: add references priv in AllColumnPrivs (#1358) 2021-10-09 14:53:23 +08:00
a1ff6f89c9 [parser] Create TMP Tables issue fix (#1359) 2021-10-09 14:53:23 +08:00
83d66f517c [parser] terror: provide a RegisterFinish API (#1352) 2021-10-09 14:53:23 +08:00
e85391f97a [parser] parser: support hexLit and binaryLit for load data lines (#1355) 2021-10-09 14:53:23 +08:00
db3b91a0b6 [parser] *: Support syntax of "CREATE/ALTER DATABASE [DEFAULT] PLACEMENT POLICY ..." (#1351) 2021-10-09 14:53:23 +08:00
99525690f1 [parser] Implement interface for acquiring literal value (#1350) 2021-10-09 14:53:23 +08:00
f4591b0e80 [parser] model: support database placement option and partition placement option (#1342) 2021-10-09 14:53:23 +08:00
bd299b990e [parser] charset: fix Encoding.Encode() and add some tests (#1344) 2021-10-09 14:53:23 +08:00
a68e007548 [parser] mysql: fix MaxDurationWidthWithFsp (#1345)
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
2021-10-09 14:53:23 +08:00
ba9eff4137 [parser] ast: fix a comment typo (#1343) 2021-10-09 14:53:23 +08:00
0b34158309 [parser] DDL: Add support for placement feature id(/*T![placement]... */). (#1334) 2021-10-09 14:53:23 +08:00
fef35aa8df [parser] add placement rules to schema and partition (#1340)
Co-authored-by: Arenatlx <314806019@qq.com>
2021-10-09 14:53:23 +08:00
77f4e87c01 [parser] ci: remove github action on pull request (#1341) 2021-10-09 14:53:23 +08:00
5e670662e4 [parser] *: support select for update of tables (#1333) 2021-10-09 14:53:23 +08:00
ba105bbd10 [parser] support parsing SQL with encodings other than utf8 (#1312) 2021-10-09 14:53:23 +08:00
8c9c20d3ff [parser] parser: support 'binary' symbol in set statements (#1335) 2021-10-09 14:53:23 +08:00
444f2c51eb [parser] parser: move policyinfo test from tidb to parser (#1330) 2021-10-09 14:53:23 +08:00
7af2a2410e [parser] introduce a new Restore Flag RestoreBracketAroundBinaryOperation (#1332) 2021-10-09 14:53:23 +08:00
726409a242 [parser] Add 'auth_socket' (#1323) 2021-10-09 14:53:23 +08:00
d3cff95f9e [parser] model: move placement policy definition into 2 parser (#1327) 2021-10-09 14:53:23 +08:00
6fe382456a [parser] settings: Delete CODEOWNERS (#1325) 2021-10-09 14:53:23 +08:00
9bf3b7b94c [parser] parser: Create SECURITY.md (#1284) 2021-10-09 14:53:23 +08:00
xhe
e0b131f433 [parser] move placement into not keywords (#1322) 2021-10-09 14:53:23 +08:00
1057322cf7 [parser] parser: support create and alter placement policy (#1313) 2021-10-09 14:53:23 +08:00
d1694fad47 [parser] Grant lock tables issue fix (#1316) 2021-10-09 14:53:23 +08:00