Commit Graph

795 Commits

Author SHA1 Message Date
6a3812e2cd [parser] mysql: fix variable formatting for ErrTruncateWrongValue (#25) 2021-10-09 14:53:23 +08:00
326ba018bd [parser] ast: Fix FrameBound.Accept (#51) 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
c7db3238fb [parser] Add test case about format "a % b" (#47) 2021-10-09 14:53:23 +08:00
b9e1bf0af6 [parser] add from_tso function (#48) 2021-10-09 14:53:23 +08:00
1846343179 [parser] parser,ast: support alter table add partition partitions by hash partitioned table syntax (#41)
* support alter table add partition partitions by hash syntax
2021-10-09 14:53:23 +08:00
c66cad2a7e [parser] README: update replace parser version command (#42) 2021-10-09 14:53:23 +08:00
fa3239e982 [parser] parser: SetText for trace statement and set default format to json (#46) 2021-10-09 14:53:23 +08:00
e5fb49c9b0 [parser] parser: add driver import check & example (#44) 2021-10-09 14:53:23 +08:00
1b27e9e11e [parser] parser: support window function ast (#37) 2021-10-09 14:53:23 +08:00
87917e47b4 [parser] parser,ast: fix create table partition by hash syntax (#33) 2021-10-09 14:53:23 +08:00
630b7e3207 [parser] circle.yml: added a step to verify parser.go is up-to-date (#36) 2021-10-09 14:53:23 +08:00
16d599c1e4 [parser] union: fix union dual table order by (#22) 2021-10-09 14:53:23 +08:00
8c54ae8e22 [parser] model: add isUnsigned for allocator (#34) 2021-10-09 14:53:23 +08:00
027ca88bf7 [parser] README: add Go Report Card and CircleCI Status badge (#35) 2021-10-09 14:53:23 +08:00
c94a71f1fd [parser] parser,ast: fix the TiDB issue #8153 (#27) 2021-10-09 14:53:23 +08:00
5fe32fea5d [parser] parser: fix select field text (#30) 2021-10-09 14:53:23 +08:00
bd8cc65171 [parser] README: fix the format (#28) 2021-10-09 14:53:23 +08:00
ee29b5f005 [parser] update README.md, fix make test, add circle.yml (#23) 2021-10-09 14:53:23 +08:00
e18cfdc62b [parser] parser: support window function grammar (#21) 2021-10-09 14:53:23 +08:00
9cf30372a0 [parser] Revert "parser,ast: fix the TiDB issue #8153 (#20)" (#24) 2021-10-09 14:53:23 +08:00
53c43f7259 [parser] *: support for the statement of "admin show tableName next row id" (#19) 2021-10-09 14:53:23 +08:00
eb6d7e1783 [parser] mysql: Update sql mode default (#11)
* mysql: Add NO_AUTO_CREATE_USER detection
* mysql: Update Default SQL Mode
* Include No_auto_create_user and only_full_group_by
2021-10-09 14:53:23 +08:00
4924685876 [parser] parser,ast: fix the TiDB issue #8153 (#20) 2021-10-09 14:53:23 +08:00
ad9281aa85 [parser] mysql: NO_AUTO_CREATE_USER detect helper function (#10)
* mysql: Add NO_AUTO_CREATE_USER detection
2021-10-09 14:53:23 +08:00
8d82156a1c [parser] parser: support identifiers for window function (#18) 2021-10-09 14:53:23 +08:00
a1f4f3efa3 [parser] Makefile: fix 'make test' (#15) 2021-10-09 14:53:23 +08:00
6f2c7111c4 [parser] *: change default charset from utf8 to utf8mb4 (#13) 2021-10-09 14:53:23 +08:00
2095376b3b [parser] goyacc: fix unstability of generated parser.go (#9) 2021-10-09 14:53:23 +08:00
1edbdcaaf9 [parser] add tests 2021-10-09 14:53:23 +08:00
3400fec39a [parser] add tests 2021-10-09 14:53:23 +08:00
698cefe6bd [parser] address comment 2021-10-09 14:53:23 +08:00
df45c95cec [parser] parser: support grammar use index(primary) without backquote 2021-10-09 14:53:23 +08:00
e7578634a3 [parser] ci 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
c3e896b459 [parser] Initial commit 2021-10-09 14:53:23 +08:00
89dda9d9a8 *: move parser to a separate repository (#8036) 2018-10-25 11:12:10 +08:00
50eb73f24a parser: support := in the set syntax (#8018)
According to MySQL document, `set` use the = assignment operator,
but the := assignment operator is also permitted
2018-10-24 13:27:58 +08:00
bd08b0bc70 *: make parser package dependency as small as possible (#7989) 2018-10-24 13:19:10 +08:00
25118db843 *: move ast.NewValueExpr to standalone parser_driver package (#7952)
Make the ast package get rid of the dependency of types.Datum
2018-10-19 19:37:55 +08:00
4de888757d parser: fix bug empty string in "ESCAPED BY" subclause of "FIELDS" cause panic (#7880) 2018-10-14 08:36:24 +08:00
7229b32a25 *: support auto analyze partition table (#7789) 2018-10-12 20:57:59 +08:00
d21f294393 *: make explain support explain anaylze (#7827) 2018-10-12 20:01:19 +08:00
b3ef641f4b types: fix bug which Float type is not effective in AddDate & SubDate function (#7840) 2018-10-12 18:36:35 +08:00
d60a1a227b plan: build anti semi join for NOT EXISTS (#7842) 2018-10-09 16:57:15 +08:00
99c4a15ce4 parser: add complex query bench (#7815) 2018-09-30 16:38:16 +08:00
cfd4544801 ddl:support show create table with compression (#7782) 2018-09-26 18:13:03 +08:00
b098b47b0b parser,ast: parse admin show slow statement (#7688)
Add the following new syntax:
* admin show slow top [internal | all] N
* admin show slow recent N
2018-09-26 14:04:54 +08:00
cb03f2bec1 move from juju/errors to pkg/errors (#7151) 2018-09-12 15:42:20 +08:00
b2bfd8f91a executor: support load data with ignore lines (#7576) 2018-09-06 22:58:06 +08:00