Commit Graph

3463 Commits

Author SHA1 Message Date
27071f14d7 session/bootstrap: disable clustered index by default (#21777) 2020-12-25 15:44:07 +08:00
edce3b75ad tests: add mpp mock test, part 2 (#21631) 2020-12-25 13:46:40 +08:00
c3e54962d1 executor: fix a bug that can not insert null into a not null column in the empty SQL mode (#21237)
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
2020-12-25 11:44:00 +08:00
38792204f9 executor, session, sessionctx: make last_plan_from_cache and last_plan_from_binding read-only (#21953) 2020-12-24 16:09:30 +08:00
092a01a0a4 statistics, executor: refactor statistics on columns (#21817) 2020-12-24 13:56:30 +08:00
5aebcee5cf executor, session, sessionctx: fix the error message of read-only variable is corrupted (#21948) 2020-12-23 20:09:00 +08:00
61e068a4d6 executor: throw error when prepared statement is execute, deallocate or prepare (#21962) 2020-12-23 17:55:59 +08:00
0735a0c924 executor: fix insert ignore into not exists partition (#21904)
Signed-off-by: lysu <sulifx@gmail.com>
2020-12-23 17:19:29 +08:00
b112c3c9a3 types: Add a limitation about float data type (#20929) 2020-12-23 16:47:59 +08:00
9ef7246d29 executor: fix data race in extractTxnScope (#21929) 2020-12-23 15:34:30 +08:00
0370fbf6a3 types: Regard TypeNewDecimal as not a hasVariantFieldLength type. (#21849) 2020-12-23 12:59:48 +08:00
e172656e37 expression: fix comparing json with string (#21903) 2020-12-23 11:54:17 +08:00
c3576fa0f0 planner: fix unknown columns in join using below agg (#21922)
Signed-off-by: lzmhhh123 <lzmhhh123@gmail.com>
2020-12-23 11:26:06 +08:00
1f16f74bd9 planner: add special partition pruner for list columns partition (#21577) 2020-12-23 11:21:53 +08:00
d44e123395 planner: prevent agg push down if it is in the outer child of apply (#21902) 2020-12-22 16:43:26 +08:00
7b76edcfe1 *: support baseline capture for prepared statements (#21271) 2020-12-22 16:21:59 +08:00
56d3f6b471 executor: support forbiding cross dc read for pointGet (#21840) 2020-12-22 15:31:31 +08:00
1265a115f6 chunk: fix min/max for enum/set is incompatible with MySQL (#21566) 2020-12-21 17:07:00 +08:00
f9092ad3fd executor: generated column make overflow error as warning when no strict sql mode (#21879)
Signed-off-by: lzmhhh123 <lzmhhh123@gmail.com>
2020-12-21 16:21:30 +08:00
ce5ce53fa9 ddl, distsql: Support forbiding cross txnScope query all *Reader Executor (#21650) 2020-12-21 15:30:30 +08:00
5cb50070bd planner: fix union doesn't handle collate correctly (#21854)
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
2020-12-21 15:06:33 +08:00
e9b11b72a3 util: fix bad number error with DISTINCT when dividing long decimals (#21783) 2020-12-18 16:29:35 +08:00
f6c8de385e session: check character set value valid when set global variable (#21609) 2020-12-18 15:59:24 +08:00
6e2bc8fe01 ddl: filter the feature switches in show variables (#21873) 2020-12-18 15:29:50 +08:00
f687ebd91c planner: fix correlated aggregates which should be evaluated in outer query (#21431) 2020-12-18 14:51:35 +08:00
fd587c3552 session: add a switch for index merge join (#21830)
Signed-off-by: lzmhhh123 <lzmhhh123@gmail.com>
2020-12-18 11:05:05 +08:00
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