Commit Graph

3418 Commits

Author SHA1 Message Date
c33e90a7ae ddl: make the system table visible in tableStorageStat (#21570) 2020-12-10 19:27:52 +08:00
2905b0defb *: modify autoid allocator's Alloc() method, add context and tracing (#21617) 2020-12-10 17:24:21 +08:00
b4eee287af *: extract topn out of histogram correctly (#21007)
Co-authored-by: Yuanjia Zhang <zhangyuanjia@pingcap.com>
2020-12-10 17:05:39 +08:00
39d8fcc71b executor: fix value swapping and multi-updates in UPDATE statement (#20493) 2020-12-10 15:48:02 +08:00
009c4894e9 executor: make TestPointGetReadLock stable (#21624)
Signed-off-by: crazycs520 <crazycs520@gmail.com>
2020-12-10 10:33:52 +08:00
51fbf415c9 executor: fix the KV decoding logic of memTableReader (#21575) 2020-12-09 22:16:50 +08:00
8dd5b0a0c4 planner: do not propagate column eq with different column types (#21495) 2020-12-09 19:54:43 +08:00
3b1e1027fd expression, json: fix converting from string to decimal (#21592) 2020-12-09 17:23:20 +08:00
0eb8ff97bc executor: open childExec during execution for UnionExec (#21561) 2020-12-09 15:10:15 +08:00
d1d891bc6c planner: refine the error message when split region by decimal column (#20543) 2020-12-09 12:21:48 +08:00
28c9e9290b *: gocritic fixes for commentFormatting (#21578) 2020-12-09 12:03:17 +08:00
cd2600f529 expression: fix parse timestamp literal using datetime type (#21558) 2020-12-09 11:38:47 +08:00
8eaca0ecd4 executor: rename 'tryDecodeFromHandle' param to fix name shadow (#21567) 2020-12-08 21:59:48 +08:00
f51bdfc514 executor: do not read from lock cache when snapshot read (#21529)
Signed-off-by: you06 <you1474600@gmail.com>
2020-12-07 20:17:17 +08:00
b28f8adfed expression: set flen to -1 when cast float to string (#21409) 2020-12-07 16:38:21 +08:00
c7cdbe7278 executor: stabilize test TestSetVar (#21493) 2020-12-07 14:30:18 +08:00
0deb0a3426 expression: fix compatibility behaviors in zero datetime with MySQL (#21220) 2020-12-07 14:13:43 +08:00
8ec67d63bb executor: stabilize TestInsertIntoGivenPartitionSet (#21505) 2020-12-07 10:57:18 +08:00
62fd2b7359 execution: fix Out of range error message is not informative enough (#21343) 2020-12-04 20:29:47 +08:00
43a562f60e *: fix cancel query slow_query doesn't release resource and tiny optimize (#21456) 2020-12-04 15:04:12 +08:00
541efe8d2a executor: make TestPointGetReadLock stable (#21491)
Signed-off-by: Shuaipeng Yu <jackysp@gmail.com>
2020-12-04 13:55:17 +08:00
22e5ebd310 *: use the Local TSO to update ForUpdateTS (#21490)
Signed-off-by: JmPotato <ghzpotato@gmail.com>
2020-12-04 13:41:47 +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
65a3a7d9a4 planner: fix join with using clause didn't check ambiguous columns (#21411) 2020-12-03 18:05:48 +08:00
5f73293cf5 ddl: check the generated column offset when modifies column (#21458)
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
2020-12-03 17:30:48 +08:00
c218c58218 *: support select from tablesample (#20883) 2020-12-03 16:46:18 +08:00
72d4504f45 planner: fix explain-hint panic for joins generated by subquery (#20675) 2020-12-03 15:18:37 +08:00
61f076e14f executor: fix test problems in TestIssue20658 (#21442) 2020-12-03 11:45:17 +08:00
0c3c4c588a *: Let binary literal can be convert to enum and set (#20789) 2020-12-02 20:15:18 +08:00
6fb60a3272 ddl: fix create list partition bug and add more test (#21398) 2020-12-02 15:21:08 +08:00
550c2c0c10 planner: natural join not consider rowid and null eq not propagate (#21328)
Signed-off-by: lzmhhh123 <lzmhhh123@gmail.com>
2020-12-02 12:18:48 +08:00
549a34f1e8 executor: fix duplicate error message in warnings (#20920)
Co-authored-by: wjHuang <huangwenjun1997@gmail.com>
2020-12-02 11:02:38 +08:00
90c7987763 executor: add SHOW STATS_TOPN (#21403) 2020-12-01 17:02:51 +08:00
c94e0df372 executor: fix test problems in TestIssue20658 (#21405)
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-12-01 13:06:22 +08:00
546b8b5ab7 *: close transaction for all auto-committed SQLs (#21378)
Signed-off-by: Shuaipeng Yu <jackysp@gmail.com>
2020-11-30 21:33:28 +08:00
1c8fb2bd2d executor: fix test problems in TestIssue20658 (#21371) 2020-11-30 15:27:59 +08:00
c9288d246c executor: add unit test and benchmark for shuffle merge join (#21360) 2020-11-29 23:11:22 +08:00
b87849868c executor: add benchmark for partitionRangeSplitter (#21363) 2020-11-29 22:54:04 +08:00
0c0e29d363 executor, planner: add partitionRangeSplitter for shuffle (#21306) 2020-11-29 16:39:16 +08:00
29a83c2cd8 executor hptc ycsb-worloade: Make use of AppendRows in all cases (#21163) 2020-11-29 16:21:00 +08:00
b204df7051 executor: Implement AppendRows for Chunk (#21057) 2020-11-28 15:14:59 +08:00
32d19b78e1 *: refine runtime stats display and tiny bug fix for metrics (#21022)
Signed-off-by: crazycs520 <crazycs520@gmail.com>
2020-11-26 16:35:25 +08:00
4af99998d5 store, executor: Add rateLimitAction Ticase (#20901) 2020-11-26 13:56:51 +08:00
4754cda0b3 executor,planner: fix resource leak of shuffle and optimize merge join by shuffle (#21255) 2020-11-26 10:46:19 +08:00
ceefbf1591 executor: Add the HashAggExec runtime information (#20577) 2020-11-25 21:56:52 +08:00
4dfb172d9a errno: show column name in redacted duplicate entry error (#21261) 2020-11-25 21:39:23 +08:00
1689eeab6f executor: fix cannot use explain for with the statement queried by explain analyze (#21052) 2020-11-25 21:24:07 +08:00
e01f5e41c2 store, session: Introduce system variable to control ratelimit action (#21259) 2020-11-25 20:27:38 +08:00
0cddd8b7fb statistics: fix the panic when analyze with collation enabled (#21262) 2020-11-25 20:10:20 +08:00
af58658b63 *: implement priority control for OOM Action (#21170) 2020-11-25 19:44:26 +08:00