Commit Graph

22 Commits

Author SHA1 Message Date
1bf1d8c877 [parser] model: add in union flag (#351)
Signed-off-by: Lonng <heng@lonng.org>
2021-10-09 14:53:23 +08:00
92ba8bb89b [parser] *: support parsing all PARTITION BY syntax (#345) 2021-10-09 14:53:23 +08:00
4dbad06ee8 [parser] *: try to support lock/unlock tables function (#305) 2021-10-09 14:53:23 +08:00
78d1b7f21b [parser] parser: add support for ALTER DATABASE syntax (#318) 2021-10-09 14:53:23 +08:00
1fa4d04572 [parser] *: fix upper-cased charset and collation name (#301) 2021-10-09 14:53:23 +08:00
64b24c11d0 [parser] charset: add GetSupportedCollations to get only supported collations (#295) 2021-10-09 14:53:23 +08:00
5ac172fb58 [parser] *: add table option: pre_split_regions (#287)
* *: add table option: pre_split_resions

* refine code

* add PreSplitRegions in tableInfo

* Update misc.go

Co-Authored-By: crazycs520 <crazycs520@gmail.com>

* Update parser.y

Co-Authored-By: crazycs520 <crazycs520@gmail.com>

* address comment

* refine comment
2021-10-09 14:53:23 +08:00
6bfe81dce2 [parser] change admin restore table syntax to recover table syntax. (#180) 2021-10-09 14:53:23 +08:00
18ba909e44 [parser] model: add MaxShardRowIDBits to table info to record the max ShardRowIDBits be used so far (#252)
* model: add MaxShardRowIDBits to table info to record the max ShardRowIDBits be used so far

* address comment
2021-10-09 14:53:23 +08:00
cc8fcaa47a [parser] model: add FindIndexByName function (#267) 2021-10-09 14:53:23 +08:00
036d077593 [parser] model: increase table and column version (#254) 2021-10-09 14:53:23 +08:00
fb046c5501 [parser] model: add version field to tableInfo. (#223) 2021-10-09 14:53:23 +08:00
c804203630 [parser] model: add version number to Column (#183) 2021-10-09 14:53:23 +08:00
3283ef24ea [parser] ddl: add admin restore syntax support (#85)
eg: admin restore table by job 11
2021-10-09 14:53:23 +08:00
3be13d0e75 [parser] add drop view ddl action (#131) 2021-10-09 14:53:23 +08:00
cc7fbfb56a [parser] model: add IsAutoIncColUnsigned for TableInfo (#79) 2021-10-09 14:53:23 +08:00
03f56baa05 [parser] parser,ast: parse ALTER TABLE .. TRUNCATE PARTITION (#74) 2021-10-09 14:53:23 +08:00
3048ced6b7 [parser] *: add ActionModifyTableCharsetAndCollate to support alter table charset and collate (#14) 2021-10-09 14:53:23 +08:00
fd3b6465ca [parser] ast, parser: extract create view parameters to CreateViewStmt (#55) 2021-10-09 14:53:23 +08:00
87917e47b4 [parser] parser,ast: fix create table partition by hash syntax (#33) 2021-10-09 14:53:23 +08:00
8c54ae8e22 [parser] model: add isUnsigned for allocator (#34) 2021-10-09 14:53:23 +08:00
c270f55405 [parser] *: move github.com/pingcap/tidb/parser here (#1) 2021-10-09 14:53:23 +08:00