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
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
b43f24fac4
executor: stable tests ( #25495 )
2021-06-17 00:56:38 +08:00
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
6fa2badf38
util: move codec logic into tablecodec package ( #18173 )
...
* move codec logic into tablecodec package
* add key generation using physical table id
* remove using prefix
* change comment
* fix conclict
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-06-24 17:43:10 +08:00
ffc1bcaaa7
unistore: fix clustered index point range check. ( #18106 )
2020-06-18 21:11:31 +08:00
a142759dee
executor/planner: fix wrong point-get plan on cluster table ( #18078 )
2020-06-17 21:41:26 +08:00
88dfb22dc5
executor: support batch-get cluster index & add test case ( #17858 )
2020-06-09 13:40:47 +08:00
73c4673f30
*: support update/delete/insert ignore/duplicate update in single cluster index table ( #17721 )
2020-06-08 20:55:31 +08:00
3176b00c02
executor: fix the issue that UNIQUE constraint on boolean column results in an incorrect result in a comparison ( #17245 )
2020-05-20 13:55:18 +08:00
ac30f5322e
mockstore: introducing embedded unistore ( #17156 )
2020-05-18 17:28:44 +08:00
6814f8c94b
*: refactor Handle in table package ( #16807 )
2020-04-27 10:04:50 +08:00
af376db3dc
*: refactor Handle in tablecodec and rowcodec ( #16705 )
...
Co-authored-by: pingcap-github-bot <sre-bot@pingcap.com >
2020-04-23 18:55:59 +08:00
e521ea9d89
*: fix the problem that PointGet returns wrong results in the case of overflow ( #14776 )
2020-04-23 15:18:01 +08:00
21ee980e11
*: Refine Explain's format. ( #15507 )
2020-03-23 17:57:49 +08:00