568898c8d7
[parser] type/compatibility: fix show create table output of generated column ( #235 )
2021-10-09 14:53:23 +08:00
1636af258f
[parser] *: add "show open tables" support ( #291 )
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
1e6b681e72
[parser] improve:GetCharsetDesc ( #256 )
2021-10-09 14:53:23 +08:00
146b505eef
[parser] ast: add role support show grant ( #272 )
...
* add option for show grant
* fix tab
* address comment
2021-10-09 14:53:23 +08:00
3417bf3834
[parser] parser: complete Restore for CreateUserStmt ( #275 )
2021-10-09 14:53:23 +08:00
35067bdff8
[parser] ast: fix misspell ( #277 )
2021-10-09 14:53:23 +08:00
91319f3063
[parser] parser: refine error messages that are inconsistent with MySQL ( #273 )
2021-10-09 14:53:23 +08:00
9ca175b8c3
[parser] parser: fix load data syntax ( #274 )
2021-10-09 14:53:23 +08:00
29b2aa5cab
[parser] add write conflict error ( #281 )
2021-10-09 14:53:23 +08:00
0b845b621c
[parser] ast: add set default role ( #266 )
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
89bfa28bae
[parser] add revoke role ( #245 )
2021-10-09 14:53:23 +08:00
12d1a3354c
[parser] ast: support EXPLAIN FOR CONNECTION ( #271 )
2021-10-09 14:53:23 +08:00
bb3e01d290
[parser] mysql/charset.go: Add quick path to avoid access map ( #248 )
...
Add quick path to avoid access map, we can check the only a few supported charsets first.
2021-10-09 14:53:23 +08:00
b5a1ee3a2f
[parser] parser, ast: add ColumnOptionCollate for all column types ( #260 )
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
e9db4f1358
[parser] Parser: Support CREATE USER extensions per MySQL 5.7 ( #269 )
2021-10-09 14:53:23 +08:00
4eae120d0c
[parser] types: port 'HasCharset' function from MySQL ( #270 )
2021-10-09 14:53:23 +08:00
2a2f211cc5
[parser] parser: fix error message for illegal year type definition. ( #268 )
2021-10-09 14:53:23 +08:00
cc8fcaa47a
[parser] model: add FindIndexByName function ( #267 )
2021-10-09 14:53:23 +08:00
c938f62ea5
[parser] parser: add charset validation (TiDB #4436 ) ( #220 )
...
* Add charset validation in pattern `CharsetName`, and use it in syntax `CONVERT(expr USING transcoding_name)` and `CHAR(N USING charset_name)`.
* Modify `yyLexer` interface to return different types of error.
2021-10-09 14:53:23 +08:00
97c4bafa13
[parser] parser: treat node_id and node_stats as tidb keyword ( #263 )
2021-10-09 14:53:23 +08:00
88e84f98ea
[parser] *: fix type of MaxInt64 ( #251 )
2021-10-09 14:53:23 +08:00
7b80828042
[parser] update tidb dep version and fix cycle dep in test ( #253 )
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
ebacedc598
[parser] *: skip 'go mod tidy' check in integration test ( #250 )
2021-10-09 14:53:23 +08:00
389ede704f
[parser] ast: add GrantRoleStmt to support GRANT ROLE ( #242 )
2021-10-09 14:53:23 +08:00
bee7de1fb7
[parser] parser, ast: add SET ROLE support ( #228 )
2021-10-09 14:53:23 +08:00
f008baf65a
[parser] ast: fix return err value in Restore ( #224 ) ( #226 )
2021-10-09 14:53:23 +08:00
bb08c990a4
[parser] improve: GetAllCharsets and GetCharsetInfoByID ( #247 )
2021-10-09 14:53:23 +08:00
cb5c8effc3
[parser] *: parser subpartition option for 'partition by range columns' ( #233 )
2021-10-09 14:53:23 +08:00
9d0531f362
[parser] Support update pump or drainer status ( #243 )
2021-10-09 14:53:23 +08:00
9f37bf3546
[parser] parser: parse 'partition by linear hash' and ignore it ( #234 )
2021-10-09 14:53:23 +08:00
155441d5b7
[parser] parser: add DROP ROLE support ( #237 )
2021-10-09 14:53:23 +08:00
3b37352183
[parser] ast: fix the behavior of window function ( #236 )
2021-10-09 14:53:23 +08:00
f9f7fa9a16
[parser] types: Fix description for year type ( #200 )
2021-10-09 14:53:23 +08:00
538e99277a
[parser] mysql: change MySQL version from 5.7.10 to 5.7.25 ( #231 )
2021-10-09 14:53:23 +08:00
7c13429c34
[parser] *: Support ENGINE TokuDB and it's ROW_FORMAT ( #222 )
2021-10-09 14:53:23 +08:00
7e78a3671e
[parser] use safe String() for UserIdentity ( #227 )
2021-10-09 14:53:23 +08:00
87f7f3bb46
[parser] ast: add create role ast structure ( #219 )
2021-10-09 14:53:23 +08:00
6c8fcb8c0f
[parser] parser: support generated column related mysql errors ( #194 )
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
f6cb990bb0
[parser] normalize and generate digest at same time ( #215 )
2021-10-09 14:53:23 +08:00
cb0ee3bb8d
[parser] parser: fix stored option in generated column restore ( #221 )
...
* parser: fix stored option in generated column restore
* parser: replace pkg/errors with pingcap/errors
* parser: address comment
2021-10-09 14:53:23 +08:00
bc337931e8
[parser] parser: add CreateRolePriv and DropRolePriv ( #216 )
2021-10-09 14:53:23 +08:00
bb2f73677e
[parser] parser: add support for show pump/drainer status ( #217 )
2021-10-09 14:53:23 +08:00
82847ebc2a
[parser] parser: add gramma for RBAC ( #213 )
2021-10-09 14:53:23 +08:00
2f6416e00e
[parser] parser: add 'INSTANT' alter algorithm ( #93 )
2021-10-09 14:53:23 +08:00
945ffdd56b
[parser] parser: parse the fraction of CURRENT_TIMESTAMP default value ( #211 )
2021-10-09 14:53:23 +08:00