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
bee7de1fb7
[parser] parser, ast: add SET ROLE support ( #228 )
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
24980bb2dd
[parser] improve syntax error message ( #175 )
2021-10-09 14:53:23 +08:00
63e969dc26
[parser] parser: fix window function interval expression type ( #169 )
2021-10-09 14:53:23 +08:00
5b5196d5c2
[parser] mysql,terror: add plugin error msg ( #173 )
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
6a3812e2cd
[parser] mysql: fix variable formatting for ErrTruncateWrongValue ( #25 )
2021-10-09 14:53:23 +08:00
b850cf8ced
[parser] mysql: fix message print number verbs ( #49 )
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