Commit Graph

16205 Commits

Author SHA1 Message Date
bb8774bf21 *: Modify placement rule index to reserve some indexes for future work (#30737) 2021-12-16 12:44:36 +08:00
6eb11b300f *: implement renew write lock lease for cached table (#30206) 2021-12-16 12:12:35 +08:00
5d62c2a92f planner: fix early set of plan's statisticsTable (#30754) 2021-12-16 10:46:35 +08:00
af259faacf planner: support the plan cache aware of bindings (#30169) 2021-12-16 10:18:35 +08:00
05b9960390 server: disable socket listener for basicHTTPHandlerTestSuite (#30680) 2021-12-16 10:06:35 +08:00
d660e483c2 sessionctx: fix the value of analyze_version when upgrading 4.x to 5.… (#30743) 2021-12-15 21:12:34 +08:00
0c7528a425 statistics: avoid deadlock when create/drop extended stats and analyze at the same time (#30566) 2021-12-15 20:28:35 +08:00
2e79433b71 test: merge executor's serial tests to other tests (#30711) 2021-12-15 19:36:35 +08:00
87dbcc25a0 metrics: fix copr-cache metrics (#30712) 2021-12-15 19:22:35 +08:00
64f730955d cmd/explaintest: fix wrong result comparison for explain test (#30717) 2021-12-15 17:04:34 +08:00
3fe92634a5 expression: fix enum type join binary get wrong result (#30445) 2021-12-15 16:52:35 +08:00
04a9618f5c server: support decoding prepared string args to character_set_client (#30723) 2021-12-15 12:14:34 +08:00
22418cd8c4 bindinfo: fix the comment typo (#30616) 2021-12-15 12:02:34 +08:00
93b0a58d6b br: fix some unstable unit test cases. (#30716) 2021-12-15 11:42:34 +08:00
0d0805d67e statistics: remove reassignment of Handle.pool in NewHandle (#30675) 2021-12-15 10:34:36 +08:00
813f6efd41 sessionctx/variable: change tidb_store_limit to global only (#30522) 2021-12-15 09:40:35 +08:00
6c0fcea070 executor: fix data race on IndexHashJoin.cancelFunc (#30701) 2021-12-14 21:46:35 +08:00
950a274afc golangci-lint: support durationcheck (#30027) 2021-12-14 21:10:35 +08:00
4b48e55ae9 lightning: Add source dir existence check for s3 (#30674) 2021-12-14 20:04:35 +08:00
5d463f3be7 metrics: fix the Max SafeTS Gap metrics (#30689) 2021-12-14 19:48:34 +08:00
2f42f7c0f6 planner: unify the argument of stats functions to use SessionCtx instead of StatementContext (#30668) 2021-12-14 19:36:35 +08:00
e9b1fb8ab5 topsql: introduce datasink interface (#30662) 2021-12-14 19:22:34 +08:00
c30d34f07f planner: Introduce a new global variable to control the historical statistics feature (#30646) 2021-12-14 19:08:36 +08:00
dd7f71fb43 util/testkit/testkit.go: fix typo (#30638) 2021-12-14 18:52:35 +08:00
a8ad203f9f executor: fix regular expression in json so that it could match identifer start with '$' (#29750) 2021-12-14 18:38:35 +08:00
ac25e9f04c statistics: add mutex for Handle.globalMap and Handle.feedback (#30550) 2021-12-14 18:22:35 +08:00
b4df7ca4dc test: make all the tests run in serial (#30692) 2021-12-14 18:06:36 +08:00
b626745299 util: replace compareDatum by compare, point part (#30575) 2021-12-14 01:20:35 +08:00
b8767880a3 testify: migrate test-infra to testify for analyze_test.go (#30640) 2021-12-13 21:22:35 +08:00
12e2288440 topsql: shouldn't evict the SQL meta, since the evicted SQL can be appear on Other components (TiKV) TopN records (#27050) 2021-12-13 20:58:35 +08:00
d8a48d9d87 *: update sysutil in go.mod to fix panic when search log (#30523) 2021-12-13 20:44:35 +08:00
68118f134a *: update tikv client (#30670) 2021-12-13 19:24:35 +08:00
e8577c7fa5 expression: make cast return error if cast binary literal to another character set (#30537) 2021-12-13 18:58:36 +08:00
d3833c2ab2 executor: migrate test-infra to testify for executor/union_scan_test.go (#30525) 2021-12-13 18:14:35 +08:00
a532973e53 planner: add trace for join reorder (#30394) 2021-12-13 17:40:35 +08:00
b8dcc09079 planner: make (*AccessPath).OnlyPointRange more succinct (#30520) 2021-12-13 17:08:35 +08:00
9a64217cfa executor: migrate test-infra to testify for executor/shuffle_test.go (#30514) 2021-12-13 16:38:36 +08:00
6495a5a116 planner: add trace for join eliminate rule (#30343) 2021-12-13 16:10:37 +08:00
1f26870ccb *: migrate sync.WaitGroup to util.WaitGroupWrapper (#30644) 2021-12-13 12:04:34 +08:00
755553660e *: Add some PD tests for placement and fix some bug found (#30621) 2021-12-12 20:20:34 +08:00
626dee7250 server: try to make TidbTestSuite more stable (#30643) 2021-12-12 11:39:57 +08:00
8e525d8d88 ddl: remove unnecessary locking when adding an index (#29772) 2021-12-11 14:45:57 +08:00
3dce612f04 executor: fix data race in the index_lookup_hash_join (#30619) 2021-12-11 11:13:57 +08:00
93e2c12346 *: Rename some names of placement ddl operation (#30622) 2021-12-11 00:41:57 +08:00
66163de741 ddl/callback_test.go: migrate test-infra to testify (#30317) 2021-12-10 23:51:57 +08:00
c08f7fc65c *: show PK name when decoding the clustered index row key (#30623) 2021-12-10 21:53:58 +08:00
512373e673 planner: implement collecting predicate columns from logical plan (#29878) 2021-12-10 18:13:57 +08:00
9d4da4f3fb *: query failed after add index / timestamp out-of-range (#28424) (#29323) 2021-12-10 17:49:57 +08:00
9a074f1dbe *: use the real StateRemote interface implementation for cached table (#30066) 2021-12-10 16:55:57 +08:00
03b6a8e550 expression: clone repertoire when clone the scalar function (#30602) 2021-12-10 14:21:57 +08:00