Commit Graph

9 Commits

Author SHA1 Message Date
1e5e86920d test: merge serial tests in bindinfo, expression, parser and statistics (#30749) 2021-12-16 18:40:37 +08:00
11b61738f3 parser: migrate test-infra to testify (#29191) 2021-10-28 12:30:49 +08:00
ed60a224fc [parser] using standard error code to replace terror (#982) 2021-10-09 14:53:23 +08:00
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
7c13429c34 [parser] *: Support ENGINE TokuDB and it's ROW_FORMAT (#222) 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