Commit Graph

10 Commits

Author SHA1 Message Date
2131dae117 [parser] terror: print the stack in terror.Log() (#803)
* terror: print the stack in terror.Log()

In TiDB, terror.Log(err) is called when we expect the error to be nil
and get rid of the annoying golint check.
Sometimes the error is not nil as expected, so it's better to print the
stack to find why

* go fmt

* address comment

* address comment
2021-10-09 14:53:23 +08:00
214dd44fab [parser] support register new terror (#734) 2021-10-09 14:53:23 +08:00
00ada7f542 [parser] terror: replace sirupsen/logrus by pingcap/log (#693)
* terror: replace sirupsen/logrus by pingcap/log

also fixed test failure on Windows

* circle.yml: restrict test parallelism in integration tests

also, stop verifying parser.go and code format in the integration tests...
those steps are redundant.

* codecov: add codecov.yml, based on pingcap/tidb#9618

Co-authored-by: tiancaiamao <tiancaiamao@gmail.com>
2021-10-09 14:53:23 +08:00
989870f109 [parser] *: remove testleak (#676) 2021-10-09 14:53:23 +08:00
17d58e390f [parser] add error class util (#628) 2021-10-09 14:53:23 +08:00
92ba8bb89b [parser] *: support parsing all PARTITION BY syntax (#345) 2021-10-09 14:53:23 +08:00
bfe813fcb9 [parser] terror: enhance terror FastGen to gen nostack error (#326) 2021-10-09 14:53:23 +08:00
7c13429c34 [parser] *: Support ENGINE TokuDB and it's ROW_FORMAT (#222) 2021-10-09 14:53:23 +08:00
5b5196d5c2 [parser] mysql,terror: add plugin error msg (#173) 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