Commit Graph

12451 Commits

Author SHA1 Message Date
fa952307bf ddl: fix default decimal Flen value (#22036) 2020-12-29 14:35:13 +08:00
xhe
5886c4b6f6 ddl: check illegal placement label constraint (#22015)
Signed-off-by: xhe <xw897002528@gmail.com>
2020-12-29 11:50:13 +08:00
xhe
3ba64be69f ddl: report error if there is no rule to drop (#22005)
Signed-off-by: xhe <xw897002528@gmail.com>
2020-12-29 11:35:44 +08:00
b1bd2856ca config: disable list partition by default since it's an experimental feature (#22045) 2020-12-29 09:56:18 +08:00
5e67a597cc planner, store/tikv, executor:Support shuffled hash join and refine codes (#20894) 2020-12-28 15:14:15 +08:00
933e456beb executor: disallow split table region by null values (#20496) 2020-12-26 15:26:02 +08:00
3e2ff1d16c expression: fix different types compare error (#21338) 2020-12-25 16:50:11 +08:00
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
4fdc99b8dd session: fix didn't change current version in #21856 (#22011) 2020-12-25 11:20:59 +08:00
47ef48b854 planner/codec: fix issue of decode plan error cause by without escape special char (#21937)
Signed-off-by: crazycs520 <crazycs520@gmail.com>
2020-12-24 20:20:29 +08:00
1db18807f2 oracle: support txnScope for GetStaleTimestamp (#21967) 2020-12-24 18:17:29 +08:00
9c5f1bd083 executor: fix unstable test Issue16696 (#22009) 2020-12-24 17:12:59 +08:00
db31b29d63 ddl: add the not expression check when creating a partition table (#21497) 2020-12-24 16:25:44 +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
be29d7e054 ddl: fix db_test failure caused by domain reload delay under a high overload (#21928)
Signed-off-by: AilinKid <314806019@qq.com>
2020-12-24 15:43:30 +08:00
092a01a0a4 statistics, executor: refactor statistics on columns (#21817) 2020-12-24 13:56:30 +08:00
d337bf4cd4 parser: update parser and add test for parse identifier (#21908) 2020-12-24 11:48:32 +08:00
01b8cdc6e0 test: fix globalkilltest (#21987) 2020-12-24 11:02:03 +08:00
2139421494 session: use ExecuteInternal to execute the bootstrap SQLs (#21979)
Signed-off-by: JmPotato <ghzpotato@gmail.com>
2020-12-24 10:10:59 +08:00
xhe
8f81ec150d ddl: inherit placement rules from the parent (#21910)
Signed-off-by: xhe <xw897002528@gmail.com>
2020-12-23 22:49:29 +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
d6ebb3707d config: disable statistics feedback by default (#21923) 2020-12-23 19:49:00 +08:00
f2a88ffa4b planner: report error for invalid window specs which are not used (#21083) 2020-12-23 18:14:30 +08:00
61e068a4d6 executor: throw error when prepared statement is execute, deallocate or prepare (#21962) 2020-12-23 17:55:59 +08:00
34b4e9a033 planner, privilege: check for table not exists (#21776) 2020-12-23 17:40:37 +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
4135fa313f planner: generate correct query block name and offset for update / delete (#21823) 2020-12-23 17:03:59 +08:00
b112c3c9a3 types: Add a limitation about float data type (#20929) 2020-12-23 16:47:59 +08:00
4f44c0db21 tidb-server: throw error when starting with multi advertise address (#21603) 2020-12-23 16:32:59 +08:00
3e5c56eccf range: fix overflow value access index (#21805) 2020-12-23 16:18:29 +08:00
4ec9b9c128 expression: fix functions format_bytes and format_nano_time incorrectly use varbinary (#15416) 2020-12-23 16:04:29 +08:00
5f3bb760d4 planner: add plancodec id for all type TableScan/IndexScan. (#21935) 2020-12-23 15:49:29 +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
49791bc3f5 expression: do not rewrite like to = if new collation is enabled (#21893) 2020-12-23 10:53:30 +08:00
392043ae15 fix cop stats string display when there is only 1 rpc (#21901) 2020-12-22 19:59:27 +08:00
c843da98b7 bindinfo: enforce default_db to lower case for SQL bind operations (#21861) 2020-12-22 19:16:56 +08:00
db7757602f txn: add pessimistic retry logic for amend pessimistic lock phase (#21925) 2020-12-22 17:20:00 +08:00
01a39ae671 expression: fix wrong type inferring for ceiling function. (#21920) 2020-12-22 17:03:59 +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
dd0dc46d5e expression: fix type infer for tidb's builtin compare(least and greatest) (#21150)
Signed-off-by: iosmanthus <myosmanthustree@gmail.com>
2020-12-22 14:58:31 +08:00
cf806f60e4 util/ranger: convert range condition like x >= 2 and x <= 2 to point condition x = 2 (#21809) 2020-12-22 14:07:54 +08:00
32d8cad845 server: double type column from table should ignore its decimal (#21788)
Signed-off-by: lzmhhh123 <lzmhhh123@gmail.com>
2020-12-22 11:27:02 +08:00