d3cff95f9e
[parser] model: move placement policy definition into 2 parser ( #1327 )
2021-10-09 14:53:23 +08:00
6fe382456a
[parser] settings: Delete CODEOWNERS ( #1325 )
2021-10-09 14:53:23 +08:00
9bf3b7b94c
[parser] parser: Create SECURITY.md ( #1284 )
2021-10-09 14:53:23 +08:00
e0b131f433
[parser] move placement into not keywords ( #1322 )
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
d1694fad47
[parser] Grant lock tables issue fix ( #1316 )
2021-10-09 14:53:23 +08:00
6c3894966a
[parser] fix select field again ( #1317 )
2021-10-09 14:53:23 +08:00
c80d241e9b
[parser] fix sel field ( #1311 )
2021-10-09 14:53:23 +08:00
0c458aca02
[parser] *: support new placement rules syntax ( #1299 )
2021-10-09 14:53:23 +08:00
34646f4acb
[parser] charset: sort the charset by its name ( #1307 )
2021-10-09 14:53:23 +08:00
b266e09b30
[parser] charset: clean up some code about charset ( #1306 )
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
70855c9d0e
[parser] Added ReferencesPriv to DB and Table level, see tidb issue 26703 ( #1304 )
2021-10-09 14:53:23 +08:00
6790f201fc
[parser] add drop column with index flag ( #1286 )
...
Signed-off-by: ailinkid <314806019@qq.com >
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
763fc87ceb
[parser] support missing charset ( #1140 ) ( #1301 )
2021-10-09 14:53:23 +08:00
97cde8c296
[parser] Model: add the new field to the Job Struct. ( #1273 )
2021-10-09 14:53:23 +08:00
a34970d9da
[parser] goyacc: add a config option to skip text position recording ( #1300 )
2021-10-09 14:53:23 +08:00
ad06cfff94
[parser] support cast as year syntax ( #1293 )
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
4a911787f3
[parser] change attributes to an unreserved keyword ( #1290 )
...
Signed-off-by: Ryan Leung <rleungx@gmail.com >
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
83a9450089
[parser] Remove useless const AddIndexStr,AddPrimaryKeyStr ( #1275 )
...
Signed-off-by: JaySon-Huang <tshent@qq.com >
2021-10-09 14:53:23 +08:00
f2ea640dd6
[parser] .github: migrate ci to GitHub Actions ( #1247 )
2021-10-09 14:53:23 +08:00
eca248cb71
[parser] Correct typo: s/TslNone/TlsNone/ ( #1270 )
2021-10-09 14:53:23 +08:00
2dce1398c8
[parser] Fix issue with warning count for error 1068 ( #1269 )
...
Closes : #1268
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
26bfc00945
[parser] Update dependencies ( #1260 )
2021-10-09 14:53:23 +08:00
c0fd7427f1
[parser] Add 'HELP' statement support ( #1250 )
2021-10-09 14:53:23 +08:00
4c25d15dc0
[parser] fix the usage of ODBC style time literal ( #1253 )
2021-10-09 14:53:23 +08:00
c95be4aaa6
[parser] auth: caching_sha2_password salt fix ( #1249 )
...
- a NUL or '$' could get replaced with another NUL or '$'
- Replacement characters didn't get their first bit set to 0 (`&^ 128`)
- The test case used the index number instead of the value of the rune.
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
768ee171c1
[parser] auth: Fix salt generation of caching_sha2_password ( #1242 )
...
This code intended to set the first bit of every byte of the salt
to 0 as the salt should not contain multi-byte UTF-8.
However it failed to do this. This changes the `^` with a `^&` to fix
that.
In addition to that this also avoids the '$' inside salts as that is
already used as delimiter in the authentication string.
Co-authored-by: tiancaiamao <tiancaiamao@gmail.com >
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
f5033cdbf5
[parser] CI: Use Go 1.16 instead of Go 1.13 ( #1241 )
...
The Integration Test output currently has this:
```
note: module requires Go 1.16
```
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
8d23ad21c9
[parser] auth: add the caching sha2 algorithm for authentication ( #1232 )
...
This allows validating passwords against the `authentication_string`
data that MySQL stores for caching_sha2 passwords.
Related:
- https://github.com/pingcap/tidb/issues/9411
2021-10-09 14:53:23 +08:00
43d29d74f7
[parser] README: remove TiDB Monthly ( #1233 )
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
6b60fb9717
[parser] *: Add Digest struct to get bytes of digest ( #1231 )
2021-10-09 14:53:23 +08:00