Commit Graph

14788 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
417c7358ef session: fix set session variable make tidb_snapshot unwork (#28677) 2021-10-09 14:43:23 +08:00
9ce57012f7 tests: use pingcap/errors instead of juju/errors (#28642) 2021-10-09 14:33:23 +08:00
592469352e ddl: Support ALTER DATABASE Placement Policy/ DirectOptions (#27894) 2021-10-09 14:25:25 +08:00
af09803e07 test: remove misuse of errors.ErrorStack in tests (#28661) 2021-10-09 14:17:24 +08:00
6782628bc1 BR: Fix stuck when many missing-peer regions in cluster (#28497) 2021-10-09 13:37:23 +08:00
07eb99dce5 txn: fix retried transactions' statements is not inclueded in TIDB_TRX (#28480) 2021-10-09 10:25:23 +08:00
d4580596ee Refactor: migrate test infra for br/pkg/logutil/loggin_test.go to testify (#28557) 2021-10-08 18:11:24 +08:00
267a3b8162 executor: add auto id allocator execution runtime stats (#28013) 2021-10-08 17:35:24 +08:00
b63bc2bce4 ddl: implement the placement rules inheritance logic (#28365) 2021-10-08 17:21:24 +08:00
36d0b4067d expression: not push invalid cast to tiflash (#28458) 2021-10-08 15:33:23 +08:00
f44d2cb9f7 types: distinguish between string and non-string in execute statement arguments (#28061) 2021-10-08 15:05:24 +08:00
a18e05d2f7 expression: limit valid decimal length (#28466) 2021-10-08 14:49:23 +08:00
d6e19a6938 planner: disable tiflash plan caching (#28475) 2021-10-08 14:09:23 +08:00
6c449825d0 executor, ddl: support database placement option and partition placement option (#28025) 2021-10-08 13:59:24 +08:00