Commit Graph

3437 Commits

Author SHA1 Message Date
efc0759961 *: add enable-global-kill with default value FALSE (#21859) 2020-12-17 20:48:34 +08:00
91ec971961 session: Support getting last query info for test purpose (#21557)
Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
2020-12-17 19:29:35 +08:00
5825c56764 *: fix invalid txn with DDL (#21837)
Signed-off-by: Shuaipeng Yu <jackysp@gmail.com>
2020-12-17 19:14:35 +08:00
259a89ade2 executor: set StmtType correctly in SummaryStmt for failed queries (#21855)
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-12-17 18:41:15 +08:00
a42aa31dc9 executor: add auto_random, auto_increment, generated column, global index test for list (columns) partition (#21725)
Signed-off-by: crazycs520 <crazycs520@gmail.com>
2020-12-17 11:19:35 +08:00
9f095242b5 exeutor: add a switch for memory tracker in aggregate (#21597) 2020-12-16 15:01:35 +08:00
3cbfec31d9 *: add a switch for extended stats to disable the feature by default (#21716) 2020-12-15 18:27:23 +08:00
67d66d68f2 expression: fix casting year 0 to string 0000 (#21469) 2020-12-15 17:33:55 +08:00
25daaee0c0 add switch for point get cache (#21669) 2020-12-15 17:00:15 +08:00
41eb594924 expression: handle hybrid field types for where clause (#21724) 2020-12-15 16:06:54 +08:00
d878fe193b executor: introduce new variables to control Apply's behaviors and add more tests for it (#20844) 2020-12-15 14:31:25 +08:00
f5a3a38bfe *: fix bug that broadcast join/MPP not compatible with clustered index (#21663) 2020-12-15 11:42:55 +08:00
ab9cd019be *: make expression index as an experiment feature (#21721)
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
2020-12-14 20:52:44 +08:00
5acff8de7a *: Revert "#19008" and "#18788" (#21599) 2020-12-14 15:06:35 +08:00
a02660e2dd *: fix tiny bug and add more DML test for list partition table (#21423)
Signed-off-by: crazycs520 <crazycs520@gmail.com>
2020-12-11 21:32:22 +08:00
087190a6e2 unistore: fix index-out-of-range error when unistore executes TopN (#21672) 2020-12-11 17:53:21 +08:00
5435f215ee executor: add error trace to investigate unstable test Issue16696 (#21668) 2020-12-11 16:33:22 +08:00
b65e41d471 *: make TestPointGetReadLock stable (#21664)
Signed-off-by: Shuaipeng Yu <jackysp@gmail.com>
2020-12-11 16:03:21 +08:00
6e1c2ac8a2 executor: fix LEAD and LAG's default value can not adapt to field type (#20747) 2020-12-11 14:55:22 +08:00
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