GitHub / kyleconroy/sqlparse / commits
| SHA | Message | Author | Date | Stats |
|---|---|---|---|---|
| a98614fd | Update README with correct documentation badge | Kyle Conroy <k****e@c****g> | over 5 years ago | |
| 9171ca26 | testing: Remove dependency on the Go MySQL driver (#7) |
Kyle Conroy <k****e@c****g>
Committed by: GitHub <n****y@g****m> |
over 5 years ago | |
| 92c4b070 | goyacc: go mod tidy (#6) |
Kyle Conroy <k****e@c****g>
Committed by: GitHub <n****y@g****m> |
over 5 years ago | |
| 009fc3df | parser: Port lexer tests to testing.T (#5) |
Kyle Conroy <k****e@c****g>
Committed by: GitHub <n****y@g****m> |
over 5 years ago | |
| af0df3a5 | goyacc: Create a separate module for goyacc (#4) |
Kyle Conroy <k****e@c****g>
Committed by: GitHub <n****y@g****m> |
over 5 years ago | |
| d7b13c2a | ci: Run tests on Windows, Linux and macOS (#3) |
Kyle Conroy <k****e@c****g>
Committed by: GitHub <n****y@g****m> |
over 5 years ago | |
| 751b77b3 | Rename module to github.com/kyleconroy/sqlparse (#2) |
Kyle Conroy <k****e@c****g>
Committed by: GitHub <n****y@g****m> |
over 5 years ago | |
| d132a6b9 | ci: Build using GitHub actions (#1) |
Kyle Conroy <k****e@c****g>
Committed by: GitHub <n****y@g****m> |
over 5 years ago | |
| 814a888e |
remove proxy from reserved keyword (#1150)
Signed-off-by: iosmanthus <m****e@g****m> |
Iosmanthus Teng <M****e@g****m>
Committed by: GitHub <n****y@g****m> |
over 5 years ago | |
| da3e5803 | parser: compatible with `select...for share` statement (#946) |
cncal <f****n@q****m>
Committed by: GitHub <n****y@g****m> |
over 5 years ago | |
| bfd536c3 | *: create / drop extended stats by ALTER TABLE (#1138) |
Kenan Yao <c****2@g****m>
Committed by: GitHub <n****y@g****m> |
over 5 years ago | |
| d2a610c0 |
parser: change the trace statement default format to row (#1107)
Co-authored-by: tangenta <t****a@1****m> |
tiancaiamao <t****o@g****m>
Committed by: GitHub <n****y@g****m> |
over 5 years ago | |
| 09b74e07 | *: support dynamic privileges and more extended privileges (#1144) |
lance6716 <l****6@g****m>
Committed by: GitHub <n****y@g****m> |
over 5 years ago | |
| fa42ef6a | Revert "make prepared readonly (#1139)" (#1145) |
Song Gao <d****i@1****m>
Committed by: GitHub <n****y@g****m> |
over 5 years ago | |
| 8c5efe0f | *: support GRANT PROXY (#1142) |
lance6716 <l****6@g****m>
Committed by: GitHub <n****y@g****m> |
over 5 years ago | |
| 71b2f6e5 | parser: Compatible with mysql8 fix select 1 where 1=1 (#1131) |
erwadba <e****a@h****m>
Committed by: GitHub <n****y@g****m> |
over 5 years ago | |
| a7d8d1d3 | make prepared readonly (#1139) |
Song Gao <d****i@1****m>
Committed by: GitHub <n****y@g****m> |
over 5 years ago | |
| 02c8ff27 | parser: remove invalid syntax (#1134) |
xiongjiwei <x****6@o****m>
Committed by: GitHub <n****y@g****m> |
over 5 years ago | |
| e2b44ffa | ast, parser: add FUNCTION and PROCEDURE for GRANT object_type (#1136) |
lance6716 <l****6@g****m>
Committed by: GitHub <n****y@g****m> |
over 5 years ago | |
| 09e923d7 | lexer: reset identifierDot to false in QuotedIdent (#1135) |
xiongjiwei <x****6@o****m>
Committed by: GitHub <n****y@g****m> |
over 5 years ago | |
| 12abf04e | *: change privilege type to uint64 and support REPLICATION CLIENT, etc (#1121) |
lance6716 <l****6@g****m>
Committed by: GitHub <n****y@g****m> |
over 5 years ago | |
| 6f7f1413 |
lexer: treat dot differently in different context (#1132)
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 | |
| 947cf4e8 | ast, parser: fix parse join (#1129) |
wjHuang <h****7@g****m>
Committed by: GitHub <n****y@g****m> |
over 5 years ago | |
| 8fca2e9a | digester: keep the singleAtIdentifier in normalize (#1128) |
Kenan Yao <c****2@g****m>
Committed by: GitHub <n****y@g****m> |
over 5 years ago | |
| 3abb6988 | ast: fix restore panic for TRIM() when arguments contain column name (#1124) |
Kenan Yao <c****2@g****m>
Committed by: GitHub <n****y@g****m> |
over 5 years ago | |
| 84899245 |
*: support multiple select options (#1122)
Signed-off-by: wjhuang2016 <h****7@g****m>, wjhuang2016 <h****7@g****m>, wjhuang2016 <h****7@g****m>, wjhuang2016 <h****7@g****m>, wjhuang2016 <h****7@g****m>, wjhuang2016 <h****7@g****m>, wjhuang2016 <h****7@g****m> |
wjHuang <h****7@g****m>
Committed by: GitHub <n****y@g****m> |
over 5 years ago | |
| 88851d93 | parser.y: populate the Fields field for TABLE and VALUES statements (#1118) |
kennytm <k****m@g****m>
Committed by: GitHub <n****y@g****m> |
over 5 years ago | |
| 33293d11 | mysql: add consts for auth switch request (#1088) |
Null not nil <6****l@u****m>
Committed by: GitHub <n****y@g****m> |
over 5 years ago | |
| f6bae960 | fix create binding for update with hint (#1117) |
虎 <i****u@f****m>
Committed by: GitHub <n****y@g****m> |
over 5 years ago | |
| 44f6be1d | model: Add StateGlobalTxnWriteOnly (#1104) |
Song Gao <d****i@1****m>
Committed by: GitHub <n****y@g****m> |
over 5 years ago | |
| 1bbb0bfe | model: add functionality to check if a base table (#1080) |
Null not nil <6****l@u****m>
Committed by: GitHub <n****y@g****m> |
over 5 years ago | |
| e13818a9 | parser: add grammar `show stats_topn` (#1109) |
Yiding Cui <w****s@g****m>
Committed by: GitHub <n****y@g****m> |
over 5 years ago | |
| 73dd7e67 |
Adding vitess_hash function to ast (#1089)
Co-authored-by: Arenatlx <a****4@g****m> |
Maksim Bezsaznyj <b****x@g****m>
Committed by: GitHub <n****y@g****m> |
over 5 years ago | |
| 7119e3f6 |
done (#1108)
Signed-off-by: wjhuang2016 <h****7@g****m> |
wjHuang <h****7@g****m>
Committed by: GitHub <n****y@g****m> |
over 5 years ago | |
| 106549ed |
parser, ast: track if order is implicit ASC/DESC (#1101)
Co-authored-by: ti-srebot <6****t@u****m> |
Null not nil <6****l@u****m>
Committed by: GitHub <n****y@g****m> |
almost 6 years ago | |
| b5e1f472 | *: add a flag `RestoreWithDefaultDB` for Restore (#1105) |
rebelice <y****e@g****m>
Committed by: GitHub <n****y@g****m> |
almost 6 years ago | |
| b3b06e0d | parser: add RESUME and BRIEOptionLevel for IMPORT (#1100) |
lance6716 <l****6@g****m>
Committed by: GitHub <n****y@g****m> |
almost 6 years ago | |
| 495a8f49 | parser: add PURGE IMPORT (#1102) |
lance6716 <l****6@g****m>
Committed by: GitHub <n****y@g****m> |
almost 6 years ago | |
| bfa7abb9 | terror: remove dead code which may cause data race (#1096) |
Rain Li <b****3@g****m>
Committed by: GitHub <n****y@g****m> |
almost 6 years ago | |
| 8f4c6ab9 | restore: make restore sql contains charset information even default charset (... |
xiongjiwei <x****6@o****m>
Committed by: GitHub <n****y@g****m> |
almost 6 years ago | |
| f3f506ac | Fix high not precedence (#938) |
Yichen <o****n@o****m>
Committed by: GitHub <n****y@g****m> |
almost 6 years ago | |
| 99e346a8 |
digester: consider paramMarker as literal when normalizing SQL (#1040)
Co-authored-by: Kenan Yao <c****2@g****m> |
Zhou Kunqin <2****e@u****m>
Committed by: GitHub <n****y@g****m> |
almost 6 years ago | |
| 782dfa0a |
mysql: fix wrong default decimal length (#1093)
Signed-off-by: wjhuang2016 <h****7@g****m> |
wjHuang <h****7@g****m>
Committed by: GitHub <n****y@g****m> |
almost 6 years ago | |
| 9d7d6425 | *: add alter table read only/write support (#1095) |
Jack Yu <y****p@p****m>
Committed by: GitHub <n****y@g****m> |
almost 6 years ago | |
| 773b8b74 | parser: support SQL Bind for Insert / Replace (#1092) |
Kenan Yao <c****2@g****m>
Committed by: GitHub <n****y@g****m> |
almost 6 years ago | |
| d98b7ac5 | ddl: let create table field type `double(N)` raise sql syntax error (#1078) |
Rain Li <b****3@g****m>
Committed by: GitHub <n****y@g****m> |
almost 6 years ago | |
| c9380f22 | ast: fix Restore for INL_HASH_JOIN / INL_MERGE_JOIN hints (#1091) |
Kenan Yao <c****2@g****m>
Committed by: GitHub <n****y@g****m> |
almost 6 years ago | |
| 3d00a0c8 |
ddl: some partition expression should return syntax error (#1087)
Co-authored-by: Arenatlx <a****4@g****m> |
xiongjiwei <x****6@o****m>
Committed by: GitHub <n****y@g****m> |
almost 6 years ago | |
| ecd256bf | ast: visit Update / Delete as well for CreateBindingStmt / DropBindingStmt (#... |
Kenan Yao <c****2@g****m>
Committed by: GitHub <n****y@g****m> |
almost 6 years ago | |
| 85205203 | support SELECT FROM TABLESAMPLE syntax (#1071) |
tangenta <t****a@1****m>
Committed by: GitHub <n****y@g****m> |
almost 6 years ago | |
| 0dcf11f3 |
support call statement (#1077)
Co-authored-by: tiancaiamao <t****o@g****m> |
Alexandr Mayorskiy <a****y@w****o>
Committed by: GitHub <n****y@g****m> |
almost 6 years ago | |
| d384bee1 | Update the errors dependence to the latest version (#1079) |
Lonng <h****g@l****g>
Committed by: GitHub <n****y@g****m> |
almost 6 years ago | |
| b3d18bf9 |
*: tiny optimize for huge partition table (#1072)
Co-authored-by: kennytm <k****m@g****m>, kennytm <k****m@g****m> Signed-off-by: crazycs520 <c****0@g****m> |
crazycs <c****0@g****m>
Committed by: GitHub <n****y@g****m> |
almost 6 years ago | |
| 3d18e257 | parser.y: distinguish between empty string index and anonymous index (#1059) |
程序员小王(troy) <w****i@1****m>
Committed by: GitHub <n****y@g****m> |
almost 6 years ago | |
| 38d9a7a7 | parser: support SQL bind syntax for update / delete (#1067) |
Kenan Yao <c****2@g****m>
Committed by: GitHub <n****y@g****m> |
almost 6 years ago | |
| 1328d877 | ddl: support multiple table rename (#1021) |
Zijie Lu <w****0@g****m>
Committed by: GitHub <n****y@g****m> |
almost 6 years ago | |
| 3b2fb4b4 | goyacc: record the original text position in AST (#984) |
tangenta <t****a@1****m>
Committed by: GitHub <n****y@g****m> |
almost 6 years ago | |
| 3822a171 |
*: fix not and ! restored (#1064)
Co-authored-by: ti-srebot <6****t@u****m> Signed-off-by: wjhuang2016 <h****7@g****m>, wjhuang2016 <h****7@g****m> |
wjHuang <h****7@g****m>
Committed by: GitHub <n****y@g****m> |
almost 6 years ago | |
| 9cbe1c75 |
ast: add explain format=json (#1055)
Co-authored-by: kennytm <k****m@g****m> |
Null not nil <6****l@u****m>
Committed by: GitHub <n****y@g****m> |
almost 6 years ago | |
| db4c0c5e | collation: add new pinyin collation utf8mb4_zh_pinyin_tidb_as_cs (#1058) |
xiongjiwei <x****6@o****m>
Committed by: GitHub <n****y@g****m> |
almost 6 years ago | |
| 783a0325 | *: redact arguments for Error (#1051) |
Feng Liyuan <d****f@g****m>
Committed by: GitHub <n****y@g****m> |
almost 6 years ago | |
| 5af7d42c | ast: Don't write comma when restore TableOption of ALTER TABLE (#1061) |
lance6716 <l****6@g****m>
Committed by: GitHub <n****y@g****m> |
almost 6 years ago | |
| 96f4986f | model: add an extra field on Job for passing argumens (#1052) |
xhe <x****8@g****m>
Committed by: GitHub <n****y@g****m> |
almost 6 years ago | |
| fb6bde87 | parser: support alter sequence (#1046) |
Arenatlx <a****4@g****m>
Committed by: GitHub <n****y@g****m> |
almost 6 years ago | |
| 00747110 | ddl: *support list column partition table (#1042) |
crazycs <c****0@g****m>
Committed by: GitHub <n****y@g****m> |
almost 6 years ago | |
| 9678b2b7 |
types: allows more types to be equal (#1041)
Signed-off-by: wjhuang2016 <h****7@g****m> |
wjHuang <h****7@g****m>
Committed by: GitHub <n****y@g****m> |
almost 6 years ago | |
| 187c4002 | parser : support table statement and value statement (#1026) |
YangKian <4****n@u****m>
Committed by: GitHub <n****y@g****m> |
almost 6 years ago | |
| 62ecb5ed |
expression: Support `bin-to-uuid` and `uuid-to-bin` (#1038)
Co-authored-by: kennytm <k****m@g****m> |
baishen <b****9@g****m>
Committed by: GitHub <n****y@g****m> |
almost 6 years ago | |
| f1d149c4 |
parser: introduce a new hint `set_var` (#1039)
Co-authored-by: kennytm <k****m@g****m> |
baishen <b****9@g****m>
Committed by: GitHub <n****y@g****m> |
almost 6 years ago | |
| 5d7e8ebf | parser: SQL BINDING support UNION ALL/INTERSECT/EXCEPT (#1030) |
rebelice <y****e@g****m>
Committed by: GitHub <n****y@g****m> |
almost 6 years ago | |
| a804c32b | model: add SQL mode and warnings field for ddl job (#1031) |
Arenatlx <a****4@g****m>
Committed by: GitHub <n****y@g****m> |
almost 6 years ago | |
| abf8b7dd | parser.y: allow subquery without table alias syntax-checked (#968) |
tangenta <t****a@1****m>
Committed by: GitHub <n****y@g****m> |
almost 6 years ago | |
| ef62879e | executor: add builtin aggregate function `json_arrayagg` (#1020) |
Arthur Yang <a****s@u****m>
Committed by: GitHub <n****y@g****m> |
almost 6 years ago | |
| cd2542b7 | parser: fix select field for set operator query (#1035) |
Zhuomin(Charming) Liu <l****3@g****m>
Committed by: GitHub <n****y@g****m> |
almost 6 years ago | |
| 4074710d | parser: fix select field for set operator (#1034) |
Zhuomin(Charming) Liu <l****3@g****m>
Committed by: GitHub <n****y@g****m> |
almost 6 years ago | |
| 3d13dd9e | parser: support except all, intersect all, parentheses for set operator (#960) |
Zhuomin(Charming) Liu <l****3@g****m>
Committed by: GitHub <n****y@g****m> |
almost 6 years ago | |
| 715be3ca | ast: Change the implementation of Accept for DefaultExpr (#1027) |
rebelice <y****e@g****m>
Committed by: GitHub <n****y@g****m> |
almost 6 years ago | |
| 99cd37d8 | fix CreateTablespacePriv order in const (#1032) |
xiaodong-ji <x****i@o****m>
Committed by: GitHub <n****y@g****m> |
almost 6 years ago | |
| 907ee5aa |
parser: rename topn_to_cop hint to limit_to_cop hint. (#1028)
Co-authored-by: Yuanjia Zhang <z****a@p****m> |
tangwz <t****m@g****m>
Committed by: GitHub <n****y@g****m> |
almost 6 years ago | |
| a60a80d2 | Add support GRANT CREATE TABLESPACE syntax (#1029) |
xiaodong-ji <x****i@o****m>
Committed by: GitHub <n****y@g****m> |
almost 6 years ago | |
| 2050748b |
fix: add "UNDERSCORE_CHARSET hexLit/bitLit" in Literal (#926)
Co-authored-by: Wang Ruichao <w****4@x****n> Signed-off-by: wangggong <7****5@q****m> |
wangggong <7****5@q****m>
Committed by: GitHub <n****y@g****m> |
almost 6 years ago | |
| f5073acb |
yy_parser: use the default SQL mode when create a new parser (#1023)
Signed-off-by: wjhuang2016 <h****7@g****m> |
wjHuang <h****7@g****m>
Committed by: GitHub <n****y@g****m> |
almost 6 years ago | |
| d9db266d |
quickstart.md: fix typo (#1018)
Co-authored-by: ti-srebot <6****t@u****m> |
tangenta <t****a@1****m>
Committed by: GitHub <n****y@g****m> |
almost 6 years ago | |
| 04bc9d05 | model: support add extra partition ID column (#1010) |
Long Deng <3****c@u****m>
Committed by: GitHub <n****y@g****m> |
almost 6 years ago | |
| e59addc2 | fix incorrect convert function restore (#1015) |
xiongjiwei <x****6@o****m>
Committed by: GitHub <n****y@g****m> |
almost 6 years ago | |
| 6dac7bb7 | remove IsTruth to IsTruthWithoutNull (#1016) |
Shenghui Wu <7****0@q****m>
Committed by: GitHub <n****y@g****m> |
almost 6 years ago | |
| 8157d630 | using standard error code to replace terror (#982) |
Lingyu Song <s****u@p****m>
Committed by: GitHub <n****y@g****m> |
almost 6 years ago | |
| 4d637afa | Revert "ast: Change the implementation of Accept for DefaultExpr (#1007)" (#1... |
Yuanjia Zhang <z****a@p****m>
Committed by: GitHub <n****y@g****m> |
almost 6 years ago | |
| 528ff1a1 |
ast: Change the implementation of Accept for DefaultExpr (#1007)
Co-authored-by: Yuanjia Zhang <z****a@p****m>, Arenatlx <a****4@g****m> |
rebelice <y****e@g****m>
Committed by: GitHub <n****y@g****m> |
almost 6 years ago | |
| 902d040a |
withNull (#1005)
Co-authored-by: Yuanjia Zhang <z****a@p****m> |
Shenghui Wu <7****0@q****m>
Committed by: GitHub <n****y@g****m> |
almost 6 years ago | |
| 5aedff97 | support select for update wait seconds grammar (#997) |
cfzjywxk <l****r@1****m>
Committed by: GitHub <n****y@g****m> |
almost 6 years ago | |
| a6534dd2 |
fix: string(int) expression not allowed on Go1.15 (#1003)
Co-authored-by: ti-srebot <6****t@u****m> |
Lenshood <7****D@u****m>
Committed by: GitHub <n****y@g****m> |
almost 6 years ago | |
| 5f138da5 | const: fix wrong SQL mode const (#1008) |
lance6716 <l****6@g****m>
Committed by: GitHub <n****y@g****m> |
almost 6 years ago | |
| 39e9c7b4 |
Support APPROX_PERCENTILE function (#1002)
Co-authored-by: kennytm <k****m@g****m> |
lei yu <l****y@o****m>
Committed by: GitHub <n****y@g****m> |
almost 6 years ago | |
| b0b7759e |
yy_parser: enable supportWindowFunc by default (#986)
Co-authored-by: crazycs <c****0@g****m> |
tangenta <t****a@1****m>
Committed by: GitHub <n****y@g****m> |
almost 6 years ago | |
| 126c14c4 |
parser: trim trailing spaces in enum and set (#1006)
Co-authored-by: ti-srebot <6****t@u****m> |
xiongjiwei <x****6@o****m>
Committed by: GitHub <n****y@g****m> |
almost 6 years ago | |
| c3f5fdd7 | feat: add "HISTOGRAM" option in "ALTER TABLE... UPDATE/DROP..." (#925) |
wangggong <7****5@q****m>
Committed by: GitHub <n****y@g****m> |
almost 6 years ago | |
| 5b58dafa | model: support columar table (#1000) |
Lei Zhao <z****3@g****m>
Committed by: GitHub <n****y@g****m> |
almost 6 years ago | |
| fc64b245 | Fix syntax error caused by unexpected hint (#1004) |
虎 <i****u@f****m>
Committed by: GitHub <n****y@g****m> |
almost 6 years ago | |
| 16751f58 | fix tiny bug about cast function (#995) |
wjHuang <h****7@g****m>
Committed by: GitHub <n****y@g****m> |
almost 6 years ago |