GitHub / pingcap/parser / commits
A MySQL Compatible SQL Parser
| SHA | Message | Author | Date | Stats |
|---|---|---|---|---|
| 659821e4 | README.md: update link (#1428) |
tangenta <t****a@1****m>
Committed by: GitHub <n****y@g****m> |
over 2 years ago | |
| 3bca03d3 | README.md: mention this repo has been moved to pingcap/tidb (#1372) |
tangenta <t****a@1****m>
Committed by: GitHub <n****y@g****m> |
about 4 years ago | |
| 6a854bcb | Add bytebase/bytebase as a user (#1360) |
tianzhou <t****@b****m>
Committed by: GitHub <n****y@g****m> |
over 4 years ago | |
| 68700589 | mysql: add references priv in AllColumnPrivs (#1358) |
unconsolable <c****2@g****m>
Committed by: GitHub <n****y@g****m> |
almost 5 years ago | |
| db58bac7 | Create TMP Tables issue fix (#1359) |
Zijie Lu <w****0@g****m>
Committed by: GitHub <n****y@g****m> |
almost 5 years ago | |
| ae8dec26 | terror: provide a RegisterFinish API (#1352) |
tiancaiamao <t****o@g****m>
Committed by: GitHub <n****y@g****m> |
almost 5 years ago | |
| 7e96705a | parser: support `hexLit` and `binaryLit` for load data lines (#1355) |
Jack Yu <y****p@p****m>
Committed by: GitHub <n****y@g****m> |
almost 5 years ago | |
| 16d022b0 | *: Support syntax of "CREATE/ALTER DATABASE [DEFAULT] PLACEMENT POLICY ..." (... |
sylzd <l****g@x****m>
Committed by: GitHub <n****y@g****m> |
almost 5 years ago | |
| 19e7f91e | Implement interface for acquiring literal value (#1350) |
milkice <M****h@g****m>
Committed by: GitHub <n****y@g****m> |
almost 5 years ago | |
| be474896 | model: support database placement option and partition placement option (#1342) |
zhaoxugang <9****5@q****m>
Committed by: GitHub <n****y@g****m> |
almost 5 years ago | |
| ac711116 | charset: fix Encoding.Encode() and add some tests (#1344) |
tangenta <t****a@1****m>
Committed by: GitHub <n****y@g****m> |
almost 5 years ago | |
| 54e0a621 |
mysql: fix MaxDurationWidthWithFsp (#1345)
Signed-off-by: wjhuang2016 <h****7@g****m> |
wjHuang <h****7@g****m>
Committed by: GitHub <n****y@g****m> |
almost 5 years ago | |
| 7cabd604 | ast: fix a comment typo (#1343) |
Ma Yingchun <m****1@o****m>
Committed by: GitHub <n****y@g****m> |
almost 5 years ago | |
| 658edc1d | DDL: Add support for placement feature id(/*T![placement]... */). (#1334) |
sylzd <l****g@x****m>
Committed by: GitHub <n****y@g****m> |
almost 5 years ago | |
| 002913dd |
add placement rules to schema and partition (#1340)
Co-authored-by: Arenatlx <3****9@q****m> |
Mattias Jonsson <m****s@u****m>
Committed by: GitHub <n****y@g****m> |
almost 5 years ago | |
| 3ee13398 | ci: remove github action on pull request (#1341) |
Lifu Wu <p****d@u****m>
Committed by: GitHub <n****y@g****m> |
almost 5 years ago | |
| 530bf89e | *: support select for update of tables (#1333) |
Jack Yu <y****p@p****m>
Committed by: GitHub <n****y@g****m> |
almost 5 years ago | |
| d5519709 | support parsing SQL with encodings other than utf8 (#1312) |
tangenta <t****a@1****m>
Committed by: GitHub <n****y@g****m> |
almost 5 years ago | |
| ea70ab7c | parser: support 'binary' symbol in set statements (#1335) |
tangenta <t****a@1****m>
Committed by: GitHub <n****y@g****m> |
almost 5 years ago | |
| b06127ca | parser: move policyinfo test from tidb to parser (#1330) |
Arenatlx <3****9@q****m>
Committed by: GitHub <n****y@g****m> |
almost 5 years ago | |
| 948434fa | introduce a new Restore Flag RestoreBracketAroundBinaryOperation (#1332) |
Yuanjia Zhang <z****a@p****m>
Committed by: GitHub <n****y@g****m> |
almost 5 years ago | |
| 2917929f | Add 'auth_socket' (#1323) |
Daniël van Eeden <g****t@m****l>
Committed by: GitHub <n****y@g****m> |
almost 5 years ago | |
| 4b34ee0c | model: move placement policy definition into 2 parser (#1327) |
Arenatlx <3****9@q****m>
Committed by: GitHub <n****y@g****m> |
almost 5 years ago | |
| 3a7a5f1e | settings: Delete CODEOWNERS (#1325) |
tison <w****6@g****m>
Committed by: GitHub <n****y@g****m> |
almost 5 years ago | |
| e2a74499 | parser: Create SECURITY.md (#1284) |
Ding Zengxian <z****s@g****m>
Committed by: GitHub <n****y@g****m> |
almost 5 years ago | |
| 66e4429a | move placement into not keywords (#1322) |
xhe <x****8@g****m>
Committed by: GitHub <n****y@g****m> |
almost 5 years ago | |
| 562fed23 | parser: support create and alter placement policy (#1313) |
Arenatlx <3****9@q****m>
Committed by: GitHub <n****y@g****m> |
about 5 years ago | |
| 7a794098 | Grant lock tables issue fix (#1316) |
JingShang Lu <j****1@g****m>
Committed by: GitHub <n****y@g****m> |
about 5 years ago | |
| 48d84c1d | fix select field again (#1317) |
wjHuang <h****7@g****m>
Committed by: GitHub <n****y@g****m> |
about 5 years ago | |
| 74606431 | fix sel field (#1311) |
wjHuang <h****7@g****m>
Committed by: GitHub <n****y@g****m> |
about 5 years ago | |
| 26f58596 | *: support new placement rules syntax (#1299) |
xhe <x****8@g****m>
Committed by: GitHub <n****y@g****m> |
about 5 years ago | |
| 11374803 | charset: sort the charset by its name (#1307) |
xiongjiwei <x****6@o****m>
Committed by: GitHub <n****y@g****m> |
about 5 years ago | |
| a9d82a55 | charset: clean up some code about charset (#1306) |
xiongjiwei <x****6@o****m>
Committed by: GitHub <n****y@g****m> |
about 5 years ago | |
| b4bbfaee | parser: fix some parse error for parenthese subqueries (#1255) |
Zhuomin Liu <l****3@g****m>
Committed by: GitHub <n****y@g****m> |
about 5 years ago | |
| f8bd71b2 | Added ReferencesPriv to DB and Table level, see tidb issue 26703 (#1304) |
Mattias Jonsson <m****s@u****m>
Committed by: GitHub <n****y@g****m> |
about 5 years ago | |
| 2d084dd9 |
add drop column with index flag (#1286)
Signed-off-by: ailinkid <3****9@q****m> |
Arenatlx <3****9@q****m>
Committed by: GitHub <n****y@g****m> |
about 5 years ago | |
| ccfccf24 | parser: Support statement 'SHOW PLACEMENT LABELS' (#1303) |
王超 <c****o@h****m>
Committed by: GitHub <n****y@g****m> |
about 5 years ago | |
| 1b9f0385 | support missing charset (#1140) (#1301) |
Lechuck Roh <l****h@u****m>
Committed by: GitHub <n****y@g****m> |
about 5 years ago | |
| aae5b517 | Model: add the new field to the Job Struct. (#1273) |
欧冰 <3****g@u****m>
Committed by: GitHub <n****y@g****m> |
about 5 years ago | |
| 19da0c24 | goyacc: add a config option to skip text position recording (#1300) |
tangenta <t****a@1****m>
Committed by: GitHub <n****y@g****m> |
about 5 years ago | |
| d4a88481 | support cast as year syntax (#1293) |
tangenta <t****a@1****m>
Committed by: GitHub <n****y@g****m> |
about 5 years ago | |
| 647e8842 | parser: support show create placement policy (#1298) |
Arenatlx <3****9@q****m>
Committed by: GitHub <n****y@g****m> |
about 5 years ago | |
| eda5e763 | add special comments support for index constraints (#1296) |
glorv <g****s@1****m>
Committed by: GitHub <n****y@g****m> |
about 5 years ago | |
| 7c22f48e | parser: support drop placement policy (#1295) |
Arenatlx <3****9@q****m>
Committed by: GitHub <n****y@g****m> |
about 5 years ago | |
| cece3020 | ast/functions: Add built-in function tidb_decode_sql_digests (#1289) |
MyonKeminta <9****a@u****m>
Committed by: GitHub <n****y@g****m> |
about 5 years ago | |
| 94275e81 | parser: support `show placement ...` syntax (#1292) |
王超 <c****o@h****m>
Committed by: GitHub <n****y@g****m> |
about 5 years ago | |
| dd9b1893 |
change attributes to an unreserved keyword (#1290)
Signed-off-by: Ryan Leung <r****x@g****m> |
Ryan Leung <r****x@g****m>
Committed by: GitHub <n****y@g****m> |
about 5 years ago | |
| 0b4098ab | restore: support restoring SQL wrapping with TiDB special comments (#1287) |
tangenta <t****a@1****m>
Committed by: GitHub <n****y@g****m> |
about 5 years ago | |
| 915a0104 | Support add/drop attributes for table or partition (#1271) |
Ryan Leung <r****x@g****m>
Committed by: GitHub <n****y@g****m> |
about 5 years ago | |
| 75cff0c9 | parser: add plan recreator statement (#1278) |
rebelice <y****e@g****m>
Committed by: GitHub <n****y@g****m> |
about 5 years ago | |
| ce67bac7 | parser: support Oracle translate function (#1283) |
WangZhengru <h****g@o****m>
Committed by: GitHub <n****y@g****m> |
about 5 years ago | |
| 7ee3cf6b |
Restart statement support (#1267)
Co-authored-by: tangenta <t****a@1****m> |
Daniël van Eeden <g****t@m****l>
Committed by: GitHub <n****y@g****m> |
about 5 years ago | |
| abc2fb27 |
Remove useless const AddIndexStr,AddPrimaryKeyStr (#1275)
Signed-off-by: JaySon-Huang <t****t@q****m> |
JaySon <t****t@q****m>
Committed by: GitHub <n****y@g****m> |
about 5 years ago | |
| d1216e06 | .github: migrate ci to GitHub Actions (#1247) |
tison <w****6@g****m>
Committed by: GitHub <n****y@g****m> |
about 5 years ago | |
| 1599cceb | Correct typo: s/TslNone/TlsNone/ (#1270) |
Daniël van Eeden <g****t@m****l>
Committed by: GitHub <n****y@g****m> |
about 5 years ago | |
| 31c87e37 | Fix issue with warning count for error 1068 (#1269) |
Daniël van Eeden <g****t@m****l>
Committed by: GitHub <n****y@g****m> |
about 5 years ago | |
| 82f3a069 | parser: fix the compatiblity of explain_format (#1262) |
Weizhen Wang <w****n@p****m>
Committed by: GitHub <n****y@g****m> |
about 5 years ago | |
| a3c007be | parser: ensure NOT NOT EXISTS is the same as EXISTS (#1254) |
kennytm <k****m@g****m>
Committed by: GitHub <n****y@g****m> |
about 5 years ago | |
| f88b9d76 |
parser: support alter table force auto_increment (#1261)
Co-authored-by: ti-srebot <6****t@u****m> |
tangenta <t****a@1****m>
Committed by: GitHub <n****y@g****m> |
about 5 years ago | |
| 8d6fe812 | Update dependencies (#1260) |
Daniël van Eeden <g****t@m****l>
Committed by: GitHub <n****y@g****m> |
about 5 years ago | |
| 07ae8d92 | Add 'HELP' statement support (#1250) |
Daniël van Eeden <g****t@m****l>
Committed by: GitHub <n****y@g****m> |
about 5 years ago | |
| 57843e81 | fix the usage of ODBC style time literal (#1253) |
bb7133 <b****3@g****m>
Committed by: GitHub <n****y@g****m> |
about 5 years ago | |
| af39ecc7 | auth: caching_sha2_password salt fix (#1249) |
Daniël van Eeden <g****t@m****l>
Committed by: GitHub <n****y@g****m> |
about 5 years ago | |
| cb77169b | auth: check for NUL in caching_sha2_password salt (#1246) |
Daniël van Eeden <g****t@m****l>
Committed by: GitHub <n****y@g****m> |
about 5 years ago | |
| 61041d72 |
auth: Fix salt generation of caching_sha2_password (#1242)
Co-authored-by: tiancaiamao <t****o@g****m> |
Daniël van Eeden <g****t@m****l>
Committed by: GitHub <n****y@g****m> |
about 5 years ago | |
| 2e51447c |
*: fix cte restore for binding (#1244)
Signed-off-by: wjhuang2016 <h****7@g****m> |
wjHuang <h****7@g****m>
Committed by: GitHub <n****y@g****m> |
about 5 years ago | |
| c931e96e | CI: Use Go 1.16 instead of Go 1.13 (#1241) |
Daniël van Eeden <g****t@m****l>
Committed by: GitHub <n****y@g****m> |
about 5 years ago | |
| 90e81021 | parser,ast: Support for authentication plugins (#1236) |
Daniël van Eeden <g****t@m****l>
Committed by: GitHub <n****y@g****m> |
about 5 years ago | |
| 10b704ad | auth: add the caching sha2 algorithm for authentication (#1232) |
Daniël van Eeden <g****b@m****l>
Committed by: GitHub <n****y@g****m> |
about 5 years ago | |
| 1686fda0 | README: remove TiDB Monthly (#1233) |
Caitin <3****n@u****m>
Committed by: GitHub <n****y@g****m> |
about 5 years ago | |
| 60691f5f |
*: clean up the deserted syntax of START TRANSACTION READ ONLY (#1230)
Signed-off-by: JmPotato <g****o@g****m> |
JmPotato <g****o@g****m>
Committed by: GitHub <n****y@g****m> |
over 5 years ago | |
| c37778af | *: Add Digest struct to get bytes of digest (#1231) |
crazycs <c****0@g****m>
Committed by: GitHub <n****y@g****m> |
over 5 years ago | |
| f5c77b78 |
fix lexer bug (#1228)
Co-authored-by: ti-srebot <6****t@u****m> |
xiongjiwei <x****6@o****m>
Committed by: GitHub <n****y@g****m> |
over 5 years ago | |
| c4cd8114 |
remove duplicated (#1229)
Signed-off-by: yisaer <d****i@1****m> |
Song Gao <d****i@1****m>
Committed by: GitHub <n****y@g****m> |
over 5 years ago | |
| 92fa6fe0 |
parser: add AsOfClause for START TRANSACTION READ ONLY statement (#1215)
Signed-off-by: JmPotato <g****o@g****m> |
JmPotato <g****o@g****m>
Committed by: GitHub <n****y@g****m> |
over 5 years ago | |
| 92d468f2 |
ast: make AsOf node be accepted (#1226)
Signed-off-by: nolouch <n****h@g****m> |
ShuNing <n****h@g****m>
Committed by: GitHub <n****y@g****m> |
over 5 years ago | |
| aba77530 |
parser, ast: make parser happy for PARTITION BY [LINEAR] KEY ALGORITHM syntax...
Co-authored-by: kennytm <k****m@g****m>, kennytm <k****m@g****m> |
Du Chuan <d****s@l****m>
Committed by: GitHub <n****y@g****m> |
over 5 years ago | |
| d7cf42f7 | parser: Compatible with mysql fix `select 1 group by 1` (#1223) |
baishen <b****9@g****m>
Committed by: GitHub <n****y@g****m> |
over 5 years ago | |
| ae2c4497 | parser: Fix tidb issue 24439 Inconsistent error with MySQL for GRANT CREATE U... |
sylzd <s****d@q****m>
Committed by: GitHub <n****y@g****m> |
over 5 years ago | |
| 81266ad7 |
ast: add resultSetNode() to ResultSetNode (#1216)
Co-authored-by: ti-srebot <6****t@u****m> |
Twice <i****@t****e>
Committed by: GitHub <n****y@g****m> |
over 5 years ago | |
| cd9cd78e | lexer: fix lexer get wrong token (#1222) |
xiongjiwei <x****6@o****m>
Committed by: GitHub <n****y@g****m> |
over 5 years ago | |
| a8654fa2 |
fix CTE parser (#1217)
Signed-off-by: wjhuang2016 <h****7@g****m> |
wjHuang <h****7@g****m>
Committed by: GitHub <n****y@g****m> |
over 5 years ago | |
| 8e8ed792 | parser: support the 'create global temporary table' syntax (#1211) |
tiancaiamao <t****o@g****m>
Committed by: GitHub <n****y@g****m> |
over 5 years ago | |
| 4a1fff11 |
ddl: admin show ddl jobs output confusing with multiple jobs (#1210)
Signed-off-by: lihaowei <h****5@g****m>, lihaowei <h****5@g****m> |
Howie <h****5@g****m>
Committed by: GitHub <n****y@g****m> |
over 5 years ago | |
| fb079df8 | ast: visit Join.Using in Join.Accept (#1214) |
Twice <i****@t****e>
Committed by: GitHub <n****y@g****m> |
over 5 years ago | |
| f416dc93 |
*: add as of clause for `SET` and `SELECT` (#1206)
Co-authored-by: tangenta <t****a@1****m> Signed-off-by: nolouch <n****h@g****m>, nolouch <n****h@g****m>, nolouch <n****h@g****m>, nolouch <n****h@g****m>, nolouch <n****h@g****m>, nolouch <n****h@g****m>, nolouch <n****h@g****m>, nolouch <n****h@g****m>, nolouch <n****h@g****m> |
ShuNing <n****h@g****m>
Committed by: GitHub <n****y@g****m> |
over 5 years ago | |
| 588138d3 |
Add EnumSetAsIntFlag flag to control enum behavior. (#1165)
Co-authored-by: tangenta <t****a@1****m>, tangenta <t****a@1****m> |
Shenghui Wu <7****0@q****m>
Committed by: GitHub <n****y@g****m> |
over 5 years ago | |
| 537e2514 | ast: fix testPlanSuite.TestNameResolver failed in tidb repo (#1212) |
Shenghui Wu <7****0@q****m>
Committed by: GitHub <n****y@g****m> |
over 5 years ago | |
| 48e7f467 | support CTE clause (#1207) |
wjHuang <h****7@g****m>
Committed by: GitHub <n****y@g****m> |
over 5 years ago | |
| 7366a943 | feat: force_index hint (#1205) |
zeroslope <1****e@u****m>
Committed by: GitHub <n****y@g****m> |
over 5 years ago | |
| 7b490931 |
*: fix static check report (#1195)
Co-authored-by: ti-srebot <6****t@u****m> Signed-off-by: xhe <x****8@g****m>, xhe <x****8@g****m>, xhe <x****8@g****m>, xhe <x****8@g****m>, xhe <x****8@g****m>, xhe <x****8@g****m>, xhe <x****8@g****m>, xhe <x****8@g****m>, xhe <x****8@g****m>, xhe <x****8@g****m>, xhe <x****8@g****m>, xhe <x****8@g****m>, xhe <x****8@g****m>, xhe <x****8@g****m>, xhe <x****8@g****m>, xhe <x****8@g****m> |
xhe <x****8@g****m>
Committed by: GitHub <n****y@g****m> |
over 5 years ago | |
| 819a917c | parser, ast: add RENAME USER stmt (#1204) |
Morgan Tocker <t****r@g****m>
Committed by: GitHub <n****y@g****m> |
over 5 years ago | |
| f959a136 | mysql: modify TypeNewDecimal length in defaultLengthAndDecimalForCast (#1202) |
iamhlbx <h****8@g****m>
Committed by: GitHub <n****y@g****m> |
over 5 years ago | |
| ae4372a9 |
mysql: small privileges refactor (#1198)
Co-authored-by: kennytm <k****m@g****m>, kennytm <k****m@g****m>, ti-srebot <6****t@u****m> Signed-off-by: xhe <x****8@g****m>, xhe <x****8@g****m>, xhe <x****8@g****m>, xhe <x****8@g****m>, xhe <x****8@g****m>, xhe <x****8@g****m> |
xhe <x****8@g****m>
Committed by: GitHub <n****y@g****m> |
over 5 years ago | |
| 3dd5c333 |
parser, ast: add explain for ALTER TABLE (#1196)
Co-authored-by: ti-srebot <6****t@u****m> |
Morgan Tocker <t****r@g****m>
Committed by: GitHub <n****y@g****m> |
over 5 years ago | |
| d7bda6c6 |
mysql: add create_view to tables_priv (#1201)
Co-authored-by: ti-srebot <6****t@u****m> Signed-off-by: xhe <x****8@g****m> |
xhe <x****8@g****m>
Committed by: GitHub <n****y@g****m> |
over 5 years ago | |
| ab6d0f2c |
auth: fix CheckScrambledPassword() panic for invalid input (#1197)
Co-authored-by: ti-srebot <6****t@u****m> |
tiancaiamao <t****o@g****m>
Committed by: GitHub <n****y@g****m> |
over 5 years ago | |
| 511d0b5d | downgrade mysql driver version (#1193) |
lysu <s****x@g****m>
Committed by: GitHub <n****y@g****m> |
over 5 years ago | |
| ed8900c9 | parser: Add truncate all support (#1179) |
Andrew <A****i@u****m>
Committed by: GitHub <n****y@g****m> |
over 5 years ago | |
| 9841cb71 |
set right not null flag when newing extra PK (#1189)
Co-authored-by: ti-srebot <6****t@u****m> |
Zhuhe Fang <f****u@g****m>
Committed by: GitHub <n****y@g****m> |
over 5 years ago |