Commit Graph

43 Commits

Author SHA1 Message Date
7c56706622 *: support predeclared golangci-lint linter (#32066)
close pingcap/tidb#30733
2022-02-14 10:35:38 +08:00
06a4dfaecb ddl, tools, util: migrate pingcap check to testify. (#31313)
close pingcap/tidb#28630, close pingcap/tidb#28631, close pingcap/tidb#28638, close pingcap/tidb#28639, close pingcap/tidb#29104, close pingcap/tidb#29108, close pingcap/tidb#29109, close pingcap/tidb#29111, close pingcap/tidb#29114
2022-01-20 13:41:45 +08:00
b5ded48df9 *: replace compareDatum by compare and fix compare (#30090) 2021-11-24 17:31:51 +08:00
951f6cf774 *: use testkit/testdata instead of util/testutil (#29906) 2021-11-19 12:55:47 +08:00
62b07a6c92 *: migrate test-infra to testify for executor/prepared_test.go (#29861) 2021-11-18 15:05:47 +08:00
b74c13a898 *: run go fmt in go1.17 (#28784) 2021-11-05 12:33:03 +08:00
eeead48c87 planner: migreate expression_test to testify (#28893) 2021-10-20 22:40:46 +08:00
xhe
94e30df8e2 parser: fix compiling, add unit tests (#28700) 2021-10-11 23:15:25 +08:00
7755d25aba *: Integrate SkyWalking-eyes to check license headers in CI and fix licenses headers (#27198) 2021-08-16 18:52:00 +08:00
f570e8fb67 util/ranger: migrate test-infra to testify (#26988) 2021-08-11 16:49:15 +08:00
7d45b322bd util/decoder: migrate test-infra to testify (#26629) 2021-07-29 15:08:17 +08:00
989361a0a8 infoschema, executor, txn: Decode key in DEADLOCKS and DATA_LOCK_WAITS (#26231) 2021-07-23 17:18:14 +08:00
39bd181213 *: Upgrade to go 1.16 && remove deprecated io/ioutil (#24527) 2021-05-25 12:07:34 +08:00
411dba25b1 *: deprecate alter-primary-key configuration (#23270) 2021-03-18 15:17:36 +08:00
602bcd2e40 *: fix some structcheck lint warnings (#22983) 2021-03-02 23:12:54 +08:00
931ff98df5 simple fixes for the staticcheck linter (#18923)
Note that this found 2 bugs where errors were being silently ignored.

These are really simple fixes that didn't require much thought.
There are still more staticcheck warnings that should be fixed.

Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-08-06 13:38:17 +08:00
6c305e2a49 ddl: apply common handle to index reorganization (#17906) 2020-06-16 09:52:39 +08:00
f12cdc4201 config: remove allow-auto-random config option (#16596) 2020-06-10 14:09:12 +08:00
d901863643 executor: insert negative primary key into auto_random table won't trigger rebase (#15397) 2020-04-15 20:56:37 +08:00
0eaa757bd8 executor: log stack info when panic converting to error (#15627) 2020-03-25 17:35:28 +08:00
a528e60e3b *: add auto_random id cache for statement retrying and table recover (#14711) 2020-02-19 18:53:03 +08:00
74e49085cf planner: make the read storage hint not force plan (#14644) 2020-02-10 20:02:22 +08:00
fce9870208 ddl,executor: add auto_random column option (#13127) 2019-12-23 14:51:51 +08:00
760d27c51f util: fix staticcheck errors (#13456) (#13651) 2019-11-22 17:20:25 +08:00
4efb32b01a *: run tests in the package name with "test" when doing make test (#13301) 2019-11-13 13:09:06 +08:00
01dce81f48 *: fix panic when check null rejection for from_unixtime (#12413) 2019-09-30 11:10:43 +08:00
ed9e973e50 util, planner: add more testSuite json files (#12247) 2019-09-18 13:59:46 +08:00
77df734586 testutil: remove unnecessary flag parse (#12197) 2019-09-17 11:04:25 +08:00
4621bf3953 planner/core: split test data from physical plan test (#12132) 2019-09-10 19:51:28 +08:00
e6e3e63060 planner: split test data from test cases (#12091) 2019-09-10 15:30:26 +08:00
tp
ad404bb645 *: avoid tidb-server -h output test flags (#11209) 2019-07-12 15:19:57 +08:00
8b15cb52b7 *: move StatementContext to its own package. (#5177) 2017-11-22 00:11:14 +08:00
62433663e5 util/types: change types path (#5007)
* util/types: change types path
2017-11-04 10:37:14 -05:00
6f84392d40 *: optimize SortExec (#4622)
* *: change key of orderByRow from "key []types.Datum" to "key []*types.Datum"

* address comment
2017-09-25 19:50:26 +08:00
5494a54db4 util: correct comments mistake (#3121) 2017-04-25 09:16:50 +08:00
74a1c9935d *: add StatementContext argument to functions. (#2157)
Add StatementContext argument to more functions where it is needed.
2016-12-02 23:28:11 +08:00
1c6c145f94 *: Set custom verbose flag to true (#1956)
* *: set custom verbose flag to true

* *: update .gitignore
2016-11-05 18:00:13 +08:00
5408833b9a ddl: improve ddl test (#1387) 2016-07-05 11:21:50 +08:00
c26dfd54e4 executor: Change interface to datum in executor. (#1103)
Change interface to datum in executor.
2016-04-20 09:52:23 +08:00
08034540f0 *: Add leak test
* *: add leak test and tiny clean up

* *: unify test format and add leak test

Conflicts:
	store/localstore/compactor_test.go
	mysql/error_test.go
*: add leak test
2016-04-07 20:53:45 +08:00
372f30ada7 testutil: Fix a bug and add few test cases. 2015-10-28 22:11:20 +08:00
d8bebae2c3 testutil: Remove useless code and file 2015-10-28 19:18:53 +08:00
e7a7a0b035 *: Add a test util function to compare unordered string slice 2015-10-28 17:34:10 +08:00