3283ef24ea
[parser] ddl: add admin restore syntax support ( #85 )
...
eg: admin restore table by job 11
2021-10-09 14:53:23 +08:00
6bb3bb224c
[parser] parser: support show create database if not exists syntax ( #148 )
...
See: https://dev.mysql.com/doc/refman/5.7/en/show-create-database.html
2021-10-09 14:53:23 +08:00
6d3f99487a
[parser] parser: implement Restore for FuncCallExpr and AggregateFuncExpr ( #102 )
2021-10-09 14:53:23 +08:00
be5ec7cba2
[parser] ast, mysql: add window function flag and error message ( #76 )
2021-10-09 14:53:23 +08:00
401e9247e5
[parser] parser: implement Restore for Assignment ( #146 )
2021-10-09 14:53:23 +08:00
999d8a9573
[parser] parser: implement Restore for BeginStmt,CommitStmt,RollbackStmt, AnalyzeTableStmt and LoadStatsStmt ( #144 )
2021-10-09 14:53:23 +08:00
6ecfe817ce
[parser] parser: implement Restore for FrameBound ( #135 )
2021-10-09 14:53:23 +08:00
c0086ecb96
[parser] parser: implement Restore for OnCondition and TableRefsClause ( #132 )
2021-10-09 14:53:23 +08:00
3be13d0e75
[parser] add drop view ddl action ( #131 )
2021-10-09 14:53:23 +08:00
1368c22730
[parser] parser: implement Restore for VariableExpr ( #87 )
...
* ast, opcode: implement Restore for VariableExpr and fix literal string of operator `EQ`
* address comment but still has some problem
* fix test
* add test case
2021-10-09 14:53:23 +08:00
7287ea54b8
[parser] parser: implement Restore for Constraint ( #127 )
2021-10-09 14:53:23 +08:00
17e7f1de3d
[parser] parser: fix GroupByClause.Restore, and add keyword ( #130 )
2021-10-09 14:53:23 +08:00
41bccb6a0f
[parser] parser: implement Restore for HavingClause ( #129 )
2021-10-09 14:53:23 +08:00
a2a8947f8d
[parser] parser: implement Restore for OrderByClause ( #128 )
2021-10-09 14:53:23 +08:00
b7a6c6492a
[parser] parser: implement Restore for PositionExpr, ByItem and GroupByClause ( #125 )
2021-10-09 14:53:23 +08:00
3036851718
[parser] parser: implement Restore for PatternInExpr ( #92 )
2021-10-09 14:53:23 +08:00
8c816f7587
[parser] parser: implement Restore for ColumnPosition ( #110 )
2021-10-09 14:53:23 +08:00
ef194ccb59
[parser] parser: implement Restore for RenameTableStmt ( #114 )
2021-10-09 14:53:23 +08:00
31ac5d0e24
[parser] parser: implement Restore for TableToTable ( #109 )
2021-10-09 14:53:23 +08:00
433fd2d301
[parser] lexer: recognize "@@system var" and fix start offset of "@user var" ( #112 )
2021-10-09 14:53:23 +08:00
cf41e85103
[parser] makefile: add fmt command in Makefile ( #121 )
2021-10-09 14:53:23 +08:00
0d99bd9732
[parser] implement Restore for ReferenceDef ( #123 )
2021-10-09 14:53:23 +08:00
3d72ea20a9
[parser] fix hint handle bug in subquery ( #120 )
2021-10-09 14:53:23 +08:00
a1ce7e5973
[parser] parser: implement Restore for TruncateTableStmt ( #122 )
2021-10-09 14:53:23 +08:00
eeb0e0cb71
[parser] parser: implement Restore for DeleteTableList ( #117 )
2021-10-09 14:53:23 +08:00
731e0c6ed6
[parser] parser: implement Restore for TableSource and Join ( #111 )
2021-10-09 14:53:23 +08:00
92ae1a8d62
[parser] parser: implement Restore for IndexColName ( #91 )
2021-10-09 14:53:23 +08:00
78dddf17c8
[parser] parser: implement Restore for RowExpr ( #113 )
2021-10-09 14:53:23 +08:00
0828b98973
[parser] parser: implement Restore for OnDeleteOpt And OnUpdateOpt ( #98 )
2021-10-09 14:53:23 +08:00
c901e1dc31
[parser] parser: implement Restore for WildCardField, SelectField and FieldList ( #118 )
2021-10-09 14:53:23 +08:00
1263c462eb
[parser] opcode: fix literal string of operator EQ ( #106 )
2021-10-09 14:53:23 +08:00
c3c7944671
[parser] parser: implement Restore for MaxValueExpr ( #108 )
2021-10-09 14:53:23 +08:00
33ebd359b8
[parser] ci: update ci script for checking code format ( #103 )
2021-10-09 14:53:23 +08:00
023cd7dcfb
[parser] impl Restore of DropTableStmt ( #107 )
2021-10-09 14:53:23 +08:00
28b04d0276
[parser] parser: remove an outdated comment ( #104 )
2021-10-09 14:53:23 +08:00
3828d529b4
[parser] parser: implement Restore for PatternRegexpExpr ( #96 )
2021-10-09 14:53:23 +08:00
958c8edf12
[parser] parser: implement Restore for ValuesExpr ( #99 )
2021-10-09 14:53:23 +08:00
20ff6cc5ce
[parser] parser: implement Restore for Limit ( #100 )
...
* parser: implement Restore for Limit
* fix
* change test content
2021-10-09 14:53:23 +08:00
8862bb53b1
[parser] ignore hint when meet unknow token in hint ( #80 )
2021-10-09 14:53:23 +08:00
631f5c92e4
[parser] parser: implement Restore for IndexOption ( #88 )
2021-10-09 14:53:23 +08:00
a8463b6756
[parser] parser: implement Restore for DropStatsStmt ( #97 )
2021-10-09 14:53:23 +08:00
bb7f83d165
[parser] parser: Implement Restore for IsTruthExpr ( #90 )
2021-10-09 14:53:23 +08:00
58e5251368
[parser] parser: implement Restore for PatternLikeExpr ( #89 )
2021-10-09 14:53:23 +08:00
a766069705
[parser] parser: implement Restore for DropIndexStmt ( #83 )
2021-10-09 14:53:23 +08:00
b3b3fd19eb
[parser] parser: implement Restore for DefaultExpr ( #84 )
2021-10-09 14:53:23 +08:00
6451bd93ea
[parser] parser: implement Restore for BinaryOperation, WhenClause, CaseExpr and ParenthesesExpr ( #81 )
2021-10-09 14:53:23 +08:00
2ebe4a6713
[parser] parser: update dependencies ( #82 )
2021-10-09 14:53:23 +08:00
a75b586a76
[parser] parser: implement Restore for BetweenExpr ( #71 )
2021-10-09 14:53:23 +08:00
cc7fbfb56a
[parser] model: add IsAutoIncColUnsigned for TableInfo ( #79 )
2021-10-09 14:53:23 +08:00
3d7841959f
[parser] parser: add RestoreCtx and change the Node interface ( #78 )
2021-10-09 14:53:23 +08:00