Commit Graph

76 Commits

Author SHA1 Message Date
b268c65710 *: fix PointGet will return an stale value when tidb_enable_plan_replayer_capture is set (#40197)
close pingcap/tidb#40194
2022-12-28 16:00:17 +08:00
0f93f7b661 *: close resultSets (#37906) 2022-09-17 13:12:59 +08:00
xhe
9a16a8dd19 *: replace defer clean with t.Cleanup (#36722)
close pingcap/tidb#36721
2022-08-01 17:34:05 +08:00
158ba1a1d9 *: enable part revive for all code (#36703) 2022-08-01 14:02:06 +08:00
9d0f5f72d3 *: enable pessimistic transaction on unistore (#36578) 2022-07-26 21:07:10 +08:00
cca81e832e charset: fix data race in the Collation.IsDefault (#35370)
close pingcap/tidb#35145
2022-06-22 11:46:36 +08:00
1fac141f35 *: close the resource on error to aovid resource leak (#34837)
close pingcap/tidb#34666, ref pingcap/tidb#34849
2022-05-30 18:00:27 +08:00
d63587f342 exeuctor: fix data race for TestPointGetLockExistKey (#33862)
close pingcap/tidb#33750
2022-04-11 17:18:34 +08:00
ffaeb3e80d ddl: improve test to avoid cycle import (#32058)
ref pingcap/tidb#31716
2022-03-14 12:11:51 +08:00
b88d62ecbb executor: fix unstable test in the TestPointGetLockExistKey (#32949)
close pingcap/tidb#32948
2022-03-09 18:27:50 +08:00
7a12df660a executor: migrate test-infra to testify for point_get_test.go (#32727)
close pingcap/tidb#28602
2022-03-02 12:41:45 +08:00
b2cb2e396b cmd/explaintest: migrate some collation tests (#31988)
ref pingcap/tidb#31625
2022-01-26 17:56:46 +08:00
cfbe70846a config: remove new charset config (#31291)
close pingcap/tidb#31236
2022-01-06 13:26:37 +08:00
9cc1b169f9 planner: do not adopt fast plan for binary literal strings (#31283)
close pingcap/tidb#31281
2022-01-05 20:12:36 +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
0e32561000 planner: fix getPartitionColumnPos panic (#25524) 2021-06-18 11:30:38 +08:00
ba77a2f58f planner: select distinct should bypass batchget (#25477) 2021-06-17 20:38:38 +08:00
xhe
b43f24fac4 executor: stable tests (#25495) 2021-06-17 00:56:38 +08:00
xhe
1a669a38c4 executor: snapshot for (batch) point get not working correctly (#25346) 2021-06-15 12:04:37 +08:00
cc5e161ac0 *: use tikv/client-go/v2 (#25359) 2021-06-11 17:24:35 +08:00
6a69ee70ca store/driver: move error to single package (#24549) 2021-05-12 20:41:40 +08:00
b66b43dac5 store/tikv: make tikv.ErrGCTooEarly as a normal error instead of dberror (#24400) 2021-05-06 14:41:53 +08:00
6bea505237 store/tikv:move error from kv into package error (#24294) 2021-04-27 15:21:56 +08:00
f08e76cb1c store/tikv/kv:move tikv/error.go to tikv/kv/error.go (#23627) 2021-03-30 11:03:23 +08:00
aee5819a20 *: change @@tidb_enable_clustered_index to ON/OFF/INT_ONLY (#23529) 2021-03-26 15:59:24 +08:00
a51d20027f executor: fix batchGet/PointGet overflow result in clustered index (#23516) 2021-03-25 14:43:23 +08:00
284da110b2 executor: fix cast function will ignore tht error for point-get key construction (#22869) 2021-03-09 18:14:55 +08:00
3750320899 executor: add close recordSet in executor (#22714) 2021-03-07 17:54:55 +08:00
b81e547e66 executor: fix err check (#22991) 2021-03-03 19:26:56 +08:00
2d48f9573c planner: decorrelate LogicalApply with inner join as the inner child (#22649) 2021-02-24 15:42:03 +08:00
04e5137f48 *: use explain format = 'brief' for tests (#22677) 2021-02-22 17:50:06 +08:00
27db39b480 *: use CLUSTERED and NONCLUSTERED to control primary key type (#22409) 2021-02-05 20:41:41 +08:00
8d6ddedfb1 session,executor: fix point get under @@tidb_snapshot (#22460)
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2021-01-21 14:43:19 +08:00
8cc5e170e9 *: using a lru cache in cachedb (#22312)
Signed-off-by: Shuaipeng Yu <jackysp@gmail.com>
2021-01-09 14:48:58 +08:00
4071a72bf2 executor: add test case for memory cache in parition table (#22291)
Signed-off-by: Shuaipeng Yu <jackysp@gmail.com>
2021-01-08 14:34:28 +08:00
c6fae57f4e executor: check not exist error in batch point get for cached tables (#22264)
Signed-off-by: Shuaipeng Yu <jackysp@gmail.com>
2021-01-07 17:17:58 +08:00
73a6f53a3a *: cache batch point get for read-only table (#22165)
Signed-off-by: Shuaipeng Yu <jackysp@gmail.com>
2021-01-07 14:19:44 +08:00
25daaee0c0 add switch for point get cache (#21669) 2020-12-15 17:00:15 +08:00
b65e41d471 *: make TestPointGetReadLock stable (#21664)
Signed-off-by: Shuaipeng Yu <jackysp@gmail.com>
2020-12-11 16:03:21 +08:00
009c4894e9 executor: make TestPointGetReadLock stable (#21624)
Signed-off-by: crazycs520 <crazycs520@gmail.com>
2020-12-10 10:33:52 +08:00
28c9e9290b *: gocritic fixes for commentFormatting (#21578) 2020-12-09 12:03:17 +08:00
541efe8d2a executor: make TestPointGetReadLock stable (#21491)
Signed-off-by: Shuaipeng Yu <jackysp@gmail.com>
2020-12-04 13:55:17 +08:00
83814613e1 executor, store/tikv: locks exist keys for point_get & batch_point_get (#21229)
Signed-off-by: you06 <you1474600@gmail.com>
2020-12-03 21:28:48 +08:00
975bbaf294 ddl: release memory cache for all tidb-servers when unlock tables (#21006)
Signed-off-by: Shuaipeng Yu <jackysp@gmail.com>
2020-11-13 18:06:05 +08:00
ee77412f54 executor, kv, store/tikv: support cache for point select (#20396) 2020-11-11 10:41:49 +08:00
0684dba6c8 util/ranger: extract multi-column DNF conditions as access conditions (#19211) 2020-09-17 20:08:34 +08:00
438945d294 *: enable clustered index by default (#19582) 2020-08-31 16:54:51 +08:00
b78f4896fe statistics, util/ranger: improve selectivity calculation for DNF filters (#18741) 2020-08-27 15:40:12 +08:00
f172a1e08a planner: make some access paths check fit the clustered index (#18998)
* planner: make some access paths check fit the clustered index

* add test

* add test for outer join elimination

* make test stable

* fix test

Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-08-10 15:33:17 +08:00