c8124a0595
ddl: Disable RENAME COLUMN for partitioning columns | tidb-test=pr/2054 ( #40151 )
...
close pingcap/tidb#40150
2022-12-29 09:18:16 +08:00
83d275cc53
ddl: Refine the error message to compatible with MySQL when drop a partition table partition key column ( #38740 )
...
close pingcap/tidb#38739
2022-12-27 18:24:16 +08:00
824ef608c7
*: support password expiration policy ( #39035 )
...
ref pingcap/tidb#9709 , close pingcap/tidb#38936
2022-12-02 16:36:02 +08:00
9a8272dc71
ddl: add foreign key check when modify column ( #37823 )
...
close pingcap/tidb#37821
2022-09-15 19:10:59 +08:00
f80a42d2d6
ddl: check index is needed in foreign key when drop index ( #37813 )
...
close pingcap/tidb#37812
2022-09-15 14:44:59 +08:00
3f77284ee4
ddl: add foreign key check when execute drop/truncate table ( #37773 )
...
close pingcap/tidb#37772
2022-09-14 16:50:59 +08:00
9036de3394
*: support create table with foreign key and maintain foreign key reference ( #37148 )
...
close pingcap/tidb#37147
2022-09-07 13:22:56 +08:00
911e7cc360
*: enable revive ( #35970 )
...
ref pingcap/tidb#35345
2022-07-15 16:03:06 +08:00
4d3a3c259a
server: use max_allowed_packet to limit the packet size. ( #33651 )
...
close pingcap/tidb#31422
2022-04-18 11:24:03 +08:00
ec7a638e33
executor: Fix authplugin handling with alter/create ( #28468 )
2021-11-02 01:10:51 +08:00
6553404bb2
*: fix regression from FLUSH PRIVILEGES fix ( #28736 )
2021-10-13 11:19:26 +08:00
e3daabacc0
[parser] *: redact arguments for Error ( #1051 )
2021-10-09 14:53:23 +08:00
b01eedeba1
[parser] mysql: clean up unused TiDB errcode ( #764 )
2021-10-09 14:53:23 +08:00
36dbd526d0
[parser] mysql/errname.go: update error message of ErrCantGetValidID ( #741 )
2021-10-09 14:53:23 +08:00
bb8631cca6
[parser] add errcode and errname of unsupported sequence default value for column type ( #739 )
2021-10-09 14:53:23 +08:00
6b1494c6a0
[parser] add json_objetagg's unsupported second argument type errorcode ( #727 )
2021-10-09 14:53:23 +08:00
e0c2eeb2c1
[parser] add json_objectagg's null key errcode ( #726 )
2021-10-09 14:53:23 +08:00
5cfb690491
[parser] Rewrite special comment parser ( #711 )
...
* lexer: added a function to scan version digits
* lexer: removed special comment scanner
Instead, simply strip off '/*!' and the pairing '*/'.
Temporarily disabled handling of /*+ ... */
* lexer: support collecting the entire /*+ ... */ as a single token
This new token has type `hintComment`. The actual hint will be parsed
lazily.
* lexer,yy_parser: move lastErrorAsWarn() from Parser into Scanner
* goyacc: do not allow conflict, support changing parser type name
change the "DO NOT EDIT" line to fit the Go standard
* parser,hintparser: created a new parser just for parsing optimizer hints
deleted all optimizer hint rules from parser.go
refactor the Makefile to support building both parsers (also deleted some
outdated fixup of *parser.go)
* lexer: fix comment parser
* codecov: don't wait for integration test before showing the coverage
* lexer: fix comment parsing again
* hintparser: TiDB still expects `HASH_JOIN(@qb1 foo@qb2)` to be valid :(
* parser,hintparser: provide the true line/column offset in the warnings
cache the hintparser in the main parser to avoid repeated allocation
* lexer: delete unused sqlOffsetInComment()
2021-10-09 14:53:23 +08:00
1c949fd936
[parser] parser : add invalid auto increment and offset error ( #707 )
2021-10-09 14:53:23 +08:00
e59bd5b94f
[parser] add auto_random error definitions ( #696 )
2021-10-09 14:53:23 +08:00
b5701d9165
[parser] parser : Add model & errcode & errname for supporting sequence. ( #691 )
2021-10-09 14:53:23 +08:00
135e72a2d9
[parser] add error code ( #678 )
2021-10-09 14:53:23 +08:00
df9e3a99f5
[parser] mysql: add foreign key error ( #675 )
...
* mysql: add foreign key error
* address comment
2021-10-09 14:53:23 +08:00
385d05ce3e
[parser] parser: support syntax for AUTO_RANDOM ( #571 )
2021-10-09 14:53:23 +08:00
5264503d28
[parser] mysql: update some TiDB customized error code ( #671 )
2021-10-09 14:53:23 +08:00
de4291013c
[parser] ddl: add expression index support ( #664 )
...
* done
* update comment
* address comment and add error code
* address comment
* rename
* address comment
* fmt
* address comment
* address comment
2021-10-09 14:53:23 +08:00
9b63f660c4
[parser] add error code from planner, expression and executor ( #650 )
2021-10-09 14:53:23 +08:00
c47b3b66dc
[parser] parser: add mysql error ErrBadUser / ErrUserAlreadyExists ( #644 )
...
* parser: add mysql error `ErrBadUser`
* parser: add mysql error `ErrUserAlreadyExists`
2021-10-09 14:53:23 +08:00
4f6d359ac6
[parser] add errcode and errname for admin repair table ( #639 )
2021-10-09 14:53:23 +08:00
b26854fe0c
[parser] parser: add mysql error ErrIncorrectType ( #638 )
2021-10-09 14:53:23 +08:00
0696e22474
[parser] mysql: add ddl-related error code and name ( #630 )
2021-10-09 14:53:23 +08:00
1207fc21e8
[parser] error code for sysvar.go ( #634 )
2021-10-09 14:53:23 +08:00
5e0468c0d8
[parser] mysql: add error code and message for table related to error ( #615 )
2021-10-09 14:53:23 +08:00
c9f54a4447
[parser] add error code for types ( #614 )
...
Signed-off-by: Shuaipeng Yu <jackysp@gmail.com >
2021-10-09 14:53:23 +08:00
c3c8b147e9
[parser] add store limit error ( #612 )
2021-10-09 14:53:23 +08:00
bfdd99ee93
[parser] mysql: add 2 infoschema related errors for TiDB ( #595 )
2021-10-09 14:53:23 +08:00
38fd2388f6
[parser] mysql: add some errors for TiDB ( #584 )
2021-10-09 14:53:23 +08:00
9d0dae0e58
[parser] parser: add nowait keyword, add for update no wait grammar, and related error… ( #582 )
2021-10-09 14:53:23 +08:00
efc76a5ce2
[parser] parser: add missing generated column related mysql errors ( #546 )
2021-10-09 14:53:23 +08:00
fb2b3d31f0
[parser] parser: add a mysql error message ( #534 )
2021-10-09 14:53:23 +08:00
7c57e6ca07
[parser] parser: support table option: 'ENCRYPTION' ( #520 )
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
416bf41862
[parser] mysql: add ErrInvalidJSONPathArrayCell ( #240 )
2021-10-09 14:53:23 +08:00
7038c2f560
[parser] add mysql standard error code 1907 ( #339 )
2021-10-09 14:53:23 +08:00
02f2bdc427
[parser] add write conflict error for latch ( #334 )
...
Signed-off-by: Shuaipeng Yu <jackysp@gmail.com >
2021-10-09 14:53:23 +08:00
d62e9e0d5e
[parser] update error message of ErrWriteConflict ( #329 )
2021-10-09 14:53:23 +08:00
89e1bfd6ef
[parser] mysql: update mysql error code/name for 3146/3069 ( #309 )
2021-10-09 14:53:23 +08:00
29b2aa5cab
[parser] add write conflict error ( #281 )
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