|
|
94e30df8e2
|
parser: fix compiling, add unit tests (#28700)
|
2021-10-11 23:15:25 +08:00 |
|
|
|
bd299b990e
|
[parser] charset: fix Encoding.Encode() and add some tests (#1344)
|
2021-10-09 14:53:23 +08:00 |
|
|
|
ba9eff4137
|
[parser] ast: fix a comment typo (#1343)
|
2021-10-09 14:53:23 +08:00 |
|
|
|
0b34158309
|
[parser] DDL: Add support for placement feature id(/*T![placement]... */). (#1334)
|
2021-10-09 14:53:23 +08:00 |
|
|
|
5e670662e4
|
[parser] *: support select for update of tables (#1333)
|
2021-10-09 14:53:23 +08:00 |
|
|
|
7af2a2410e
|
[parser] introduce a new Restore Flag RestoreBracketAroundBinaryOperation (#1332)
|
2021-10-09 14:53:23 +08:00 |
|
|
|
726409a242
|
[parser] Add 'auth_socket' (#1323)
|
2021-10-09 14:53:23 +08:00 |
|
|
|
1057322cf7
|
[parser] parser: support create and alter placement policy (#1313)
|
2021-10-09 14:53:23 +08:00 |
|
|
|
0c458aca02
|
[parser] *: support new placement rules syntax (#1299)
|
2021-10-09 14:53:23 +08:00 |
|
|
|
75e85369d7
|
[parser] parser: fix some parse error for parenthese subqueries (#1255)
|
2021-10-09 14:53:23 +08:00 |
|
|
|
a4d223e7b7
|
[parser] parser: Support statement 'SHOW PLACEMENT LABELS' (#1303)
|
2021-10-09 14:53:23 +08:00 |
|
|
|
51f948424c
|
[parser] parser: support show create placement policy (#1298)
|
2021-10-09 14:53:23 +08:00 |
|
|
|
0036788fc0
|
[parser] add special comments support for index constraints (#1296)
|
2021-10-09 14:53:23 +08:00 |
|
|
|
55074f2a24
|
[parser] parser: support drop placement policy (#1295)
|
2021-10-09 14:53:23 +08:00 |
|
|
|
eb90a169f5
|
[parser] ast/functions: Add built-in function tidb_decode_sql_digests (#1289)
|
2021-10-09 14:53:23 +08:00 |
|
|
|
238f29681c
|
[parser] parser: support show placement ... syntax (#1292)
* parser: support `show placement ...` syntax
* Add parser.go
|
2021-10-09 14:53:23 +08:00 |
|
|
|
3ed80be1c4
|
[parser] restore: support restoring SQL wrapping with TiDB special comments (#1287)
|
2021-10-09 14:53:23 +08:00 |
|
|
|
386287d9b4
|
[parser] Support add/drop attributes for table or partition (#1271)
|
2021-10-09 14:53:23 +08:00 |
|
|
|
742f960ce7
|
[parser] parser: add plan recreator statement (#1278)
|
2021-10-09 14:53:23 +08:00 |
|
|
|
217cd12248
|
[parser] parser: support Oracle translate function (#1283)
|
2021-10-09 14:53:23 +08:00 |
|
|
|
276a575804
|
[parser] Restart statement support (#1267)
Co-authored-by: tangenta <tangenta@126.com>
|
2021-10-09 14:53:23 +08:00 |
|
|
|
eca248cb71
|
[parser] Correct typo: s/TslNone/TlsNone/ (#1270)
|
2021-10-09 14:53:23 +08:00 |
|
|
|
a8fd323ac6
|
[parser] parser: fix the compatiblity of explain_format (#1262)
|
2021-10-09 14:53:23 +08:00 |
|
|
|
c1acf6df1f
|
[parser] parser: ensure NOT NOT EXISTS is the same as EXISTS (#1254)
|
2021-10-09 14:53:23 +08:00 |
|
|
|
b7eaefe9db
|
[parser] parser: support alter table force auto_increment (#1261)
* parser: support alter table force auto_increment
* support alter force auto_random_base
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
|
2021-10-09 14:53:23 +08:00 |
|
|
|
c0fd7427f1
|
[parser] Add 'HELP' statement support (#1250)
|
2021-10-09 14:53:23 +08:00 |
|
|
|
4415136781
|
[parser] auth: check for NUL in caching_sha2_password salt (#1246)
|
2021-10-09 14:53:23 +08:00 |
|
|
|
eedf0439ca
|
[parser] *: fix cte restore for binding (#1244)
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
|
2021-10-09 14:53:23 +08:00 |
|
|
|
12d0a279c4
|
[parser] parser,ast: Support for authentication plugins (#1236)
|
2021-10-09 14:53:23 +08:00 |
|
|
|
732586d33f
|
[parser] *: clean up the deserted syntax of START TRANSACTION READ ONLY (#1230)
* Clean up the deserted syntax of START TRANSACTION READ ONLY
Signed-off-by: JmPotato <ghzpotato@gmail.com>
|
2021-10-09 14:53:23 +08:00 |
|
|
|
e8aea0f97d
|
[parser] parser: add AsOfClause for START TRANSACTION READ ONLY statement (#1215)
* Add AsOfClause for START TRANSACTION READ ONLY statement
Signed-off-by: JmPotato <ghzpotato@gmail.com>
|
2021-10-09 14:53:23 +08:00 |
|
|
|
2025bc4d3e
|
[parser] ast: make AsOf node be accepted (#1226)
* ast: make AsOf node be accepted
Signed-off-by: nolouch <nolouch@gmail.com>
|
2021-10-09 14:53:23 +08:00 |
|
|
|
0c43f7f38c
|
[parser] parser, ast: make parser happy for PARTITION BY [LINEAR] KEY ALGORITHM syntax (#1221)
* parser, ast: make parser happy for PARTITION BY [LINEAR] KEY ALGORITHM synta
* Update ast/ddl.go
Co-authored-by: kennytm <kennytm@gmail.com>
* remove useless import
Co-authored-by: kennytm <kennytm@gmail.com>
|
2021-10-09 14:53:23 +08:00 |
|
|
|
434ae88964
|
[parser] ast: add resultSetNode() to ResultSetNode (#1216)
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
|
2021-10-09 14:53:23 +08:00 |
|
|
|
c72868080c
|
[parser] fix CTE parser (#1217)
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
|
2021-10-09 14:53:23 +08:00 |
|
|
|
fd730ec231
|
[parser] parser: support the 'create global temporary table' syntax (#1211)
|
2021-10-09 14:53:23 +08:00 |
|
|
|
6a97668216
|
[parser] ast: visit Join.Using in Join.Accept (#1214)
|
2021-10-09 14:53:23 +08:00 |
|
|
|
b6c5ada1d5
|
[parser] *: add as of clause for SET and SELECT (#1206)
* *: add as of clause
Signed-off-by: nolouch <nolouch@gmail.com>
* resolve shift-reduce conflict
* *: fix and try to add test
Signed-off-by: nolouch <nolouch@gmail.com>
* *: add timestamp
Signed-off-by: nolouch <nolouch@gmail.com>
* make as of to token
Signed-off-by: nolouch <nolouch@gmail.com>
* address comments
Signed-off-by: nolouch <nolouch@gmail.com>
* add test
Signed-off-by: nolouch <nolouch@gmail.com>
* make of as Reserved(from mysql 8.0)
Signed-off-by: nolouch <nolouch@gmail.com>
* add set test case
Signed-off-by: nolouch <nolouch@gmail.com>
* address comment
Signed-off-by: nolouch <nolouch@gmail.com>
Co-authored-by: tangenta <tangenta@126.com>
|
2021-10-09 14:53:23 +08:00 |
|
|
|
81fcae6419
|
[parser] ast: fix testPlanSuite.TestNameResolver failed in tidb repo (#1212)
* fix-name-resolver
* add comments
|
2021-10-09 14:53:23 +08:00 |
|
|
|
ccf996259d
|
[parser] support CTE clause (#1207)
|
2021-10-09 14:53:23 +08:00 |
|
|
|
f09db3e3ce
|
[parser] feat: force_index hint (#1205)
|
2021-10-09 14:53:23 +08:00 |
|
|
|
bc860cdd5e
|
[parser] *: fix static check report (#1195)
* ast: base.go
Signed-off-by: xhe <xw897002528@gmail.com>
* ast: expressions.go
Signed-off-by: xhe <xw897002528@gmail.com>
* ast: misc_test.go
Signed-off-by: xhe <xw897002528@gmail.com>
* *: digester.go
Signed-off-by: xhe <xw897002528@gmail.com>
* goyacc: format_yacc.go
Signed-off-by: xhe <xw897002528@gmail.com>
* *: lexer_test.go
Signed-off-by: xhe <xw897002528@gmail.com>
* *: misc.go
Signed-off-by: xhe <xw897002528@gmail.com>
* model: model.go
Signed-off-by: xhe <xw897002528@gmail.com>
* model: model_test.go
Signed-off-by: xhe <xw897002528@gmail.com>
* *: parser_test.go
Signed-off-by: xhe <xw897002528@gmail.com>
* test_driver: test_driver_datum.go
Signed-off-by: xhe <xw897002528@gmail.com>
* test_driver: test_driver_mydecimal.go
Signed-off-by: xhe <xw897002528@gmail.com>
* ast: ddl.go, bugfix
Signed-off-by: xhe <xw897002528@gmail.com>
* mysql: errcode.go
charset/charset.go is passing errcode to NewStd, which requires int. But
here codes are uint16. To get rid of the error, uint16 is removed.
Signed-off-by: xhe <xw897002528@gmail.com>
* model: better test
Signed-off-by: xhe <xw897002528@gmail.com>
* *: fix timezone
Signed-off-by: xhe <xw897002528@gmail.com>
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
|
2021-10-09 14:53:23 +08:00 |
|
|
|
940fbea282
|
[parser] parser, ast: add RENAME USER stmt (#1204)
|
2021-10-09 14:53:23 +08:00 |
|
|
|
5f6739c14e
|
[parser] mysql: modify TypeNewDecimal length in defaultLengthAndDecimalForCast (#1202)
|
2021-10-09 14:53:23 +08:00 |
|
|
|
c80bc1e8f9
|
[parser] parser, ast: add explain for ALTER TABLE (#1196)
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
|
2021-10-09 14:53:23 +08:00 |
|
|
|
a27471d6df
|
[parser] statistics: introduce a new kind of syntax to drop global-stats #1181
|
2021-10-09 14:53:23 +08:00 |
|
|
|
cead7b3c5d
|
[parser] parser: support show stats_extended syntax (#1178)
|
2021-10-09 14:53:23 +08:00 |
|
|
|
747a99dd53
|
[parser] add the new stmt: drop stats partition (#1177)
|
2021-10-09 14:53:23 +08:00 |
|
|
|
10b601cc69
|
[parser] restore: fix the bug about restore join table generate syntax error SQL (#1173)
|
2021-10-09 14:53:23 +08:00 |
|
|
|
7aa3bf1b2f
|
[parser] Add "START TRANSACTION WITH CAUSAL CONSISTENCY ONLY" (#1162)
* add a start transaction without external consistency statement
Signed-off-by: ekexium <ekexium@gmail.com>
* change the grammar to 'with causal consistency'
Signed-off-by: ekexium <ekexium@gmail.com>
* rename WithoutExternalConsistency to CausalConsistency
Signed-off-by: ekexium <ekexium@gmail.com>
* change syntax to 'start transaction with causal consistency only'
Signed-off-by: ekexium <ekexium@gmail.com>
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
|
2021-10-09 14:53:23 +08:00 |
|