Commit Graph

11164 Commits

Author SHA1 Message Date
514b91d90c test: fix data race in distsql/select_result (#18059) 2020-06-17 11:14:24 +08:00
7f03358895 ddl: throw unsupported warning when alter table with/without validation (#16089) 2020-06-17 09:58:45 +08:00
c19018e06f rename 'trancates' to 'truncates' (#17968) 2020-06-16 19:55:29 +08:00
fa551115e6 *: fix update bug in cluster index (#18045) 2020-06-16 17:06:26 +08:00
7f1cd1a60d planner: support build clustered index range for table scan (#18018) 2020-06-16 11:49:01 +08:00
50bd9f4867 config: complete the list of deprecated configurations (#18001) 2020-06-16 11:36:46 +08:00
6c305e2a49 ddl: apply common handle to index reorganization (#17906) 2020-06-16 09:52:39 +08:00
b8fb4b0965 metrics: distinguish transactions by mode (#17912) 2020-06-15 16:20:38 +08:00
0321395ea9 types/question: fix the variable reallocation in the function EncodeIndexSeekKey (#17831) (#17833) 2020-06-15 15:59:48 +08:00
8943b1edc4 *: fix analyze on clustered index miss some handle columns (#18004) 2020-06-15 15:43:13 +08:00
2b7c420694 store/tikv: make unit test TestCoprocessorStreamRecvTimeout unstable (#17867) 2020-06-15 15:28:26 +08:00
8a33340f2b expression: fix the panic when we use unix_time expression in prepare and execute statement. (#17855)
* expression: fix Const.DeferredExpr's wrong behavior

* clean the code

* FIX UT

* revert the change and add check for `funcCallToExpression`

* solve conflicts

* fix typo

* address comments

Co-authored-by: pingcap-github-bot <sre-bot@pingcap.com>
2020-06-15 12:42:01 +08:00
60dbf2b119 planner: rename table path to IntHandlePath (#17962)
Co-authored-by: lysu <sulifx@gmail.com>
2020-06-15 11:00:20 +08:00
7c3e9d2427 *: support analyze on cluster index (#17895) 2020-06-15 10:51:33 +08:00
4e74d40392 ddl: fix admin repair table with range partition expr will parseInt fail (#17982) 2020-06-12 16:58:00 +08:00
389561922e executor: optimize the get snapshot table meta for tiflash/replica HTTP API (#17969)
Signed-off-by: crazycs520 <crazycs520@gmail.com>
2020-06-12 16:35:19 +08:00
d445e55fc4 planner,executor: fix select big number on hash partition table panic (#17881) 2020-06-12 15:32:52 +08:00
1dc57ed9f4 table/tables: fix load partition when upgrade from an old TiDB (#17971) 2020-06-12 15:11:55 +08:00
7a5672920e planner/cascades: estimate the cost of PhysicalProjection (#17873)
Co-authored-by: pingcap-github-bot <sre-bot@pingcap.com>
2020-06-12 13:57:39 +08:00
a8da23c254 test: fix data race caused by update global config (#17964)
Co-authored-by: pingcap-github-bot <sre-bot@pingcap.com>
2020-06-12 13:05:27 +08:00
368acb8c4b infoschema: make error information more clear (#17974)
Signed-off-by: crazycs520 <crazycs520@gmail.com>
2020-06-12 11:07:44 +08:00
765612fb54 expression: fix the wrong behaviour bug of vec LeastTime (#17848) 2020-06-12 10:39:47 +08:00
f139821c82 session,executor: tiny clean up the runStmt function (#17911)
Co-authored-by: pingcap-github-bot <sre-bot@pingcap.com>
2020-06-11 22:11:58 +08:00
b4836c1062 driver: fix auto_random keyword regex (#17915) 2020-06-11 16:39:21 +08:00
bbeb4d029e tikv: fix "Got too many pings" GRPC error in PD-server follower (#17885) 2020-06-11 13:53:48 +08:00
a689df0416 planner, util: new unfixed mutrow for TypeNull (#17893)
Co-authored-by: Yuanjia Zhang <zhangyuanjia@pingcap.com>
2020-06-11 10:50:48 +08:00
06361c2d98 expression: fix type infer error for count (#17871) 2020-06-11 10:22:54 +08:00
b2922a7098 executor: remove unused code (#17923)
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
2020-06-11 02:16:42 +08:00
af5d15ef6e infoschema: fix cluster_info display the tombstone tikv/tiflash (#17877) 2020-06-10 22:54:29 +08:00
23d6430841 test: stabilize test TestSleepVectorized (#17910)
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
2020-06-10 19:50:27 +08:00
83632ecc6e ddl: fix a bug that creating a table with set column don't handle collation correctly (#17905)
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
2020-06-10 19:37:40 +08:00
f87e2b1710 types: ToString() should not return error for datum null (#17894)
Co-authored-by: pingcap-github-bot <sre-bot@pingcap.com>
Co-authored-by: crazycs <crazycs520@gmail.com>
2020-06-10 17:10:31 +08:00
3ab8f34110 table: fix a bug that replaces into a table with generated column fail (#17838)
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
2020-06-10 15:19:30 +08:00
30cb0312d1 tablecode: improve the coverage of key path in tablecodec (#16986) 2020-06-10 14:42:15 +08:00
e053ce02ab *: Fix HTTP api get TiFlash replica failed cause by concurrent DDL. (#17872) 2020-06-10 14:27:12 +08:00
792d958215 gc_worker: Add logs about adjusting gc safepoint by global minimum start ts (#17892)
Co-authored-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
Co-authored-by: pingcap-github-bot <sre-bot@pingcap.com>
2020-06-10 14:18:00 +08:00
f12cdc4201 config: remove allow-auto-random config option (#16596) 2020-06-10 14:09:12 +08:00
1cc33b0b36 ddl: Support exchange partition (#17149) 2020-06-10 13:31:07 +08:00
4856f80d98 expression: fix a bug that the coercibility of user variable is wrong (#17676)
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
2020-06-10 13:12:11 +08:00
62d251afb2 *: support index scan for clustered index. (#17853) 2020-06-10 11:13:28 +08:00
f82bd008d4 ddl: correct the usage of json.Unmarshal in job.DecodeArgs (#17857)
* ddl: correct the usage of json.Unmarshal in job.DecodeArgs

* update parser

Co-authored-by: pingcap-github-bot <sre-bot@pingcap.com>
2020-06-10 11:00:54 +08:00
405a5d009d sessionctx: add optimization-time and wait-TS-time into the slow log (#17869) 2020-06-10 10:41:50 +08:00
04548980f8 ddl, meta: allow increasing auto_random bits (#17423) 2020-06-10 08:35:13 +08:00
c9c9f873e9 planner: do correlated column's datum match in physical optimize phase (#17578) 2020-06-09 14:56:38 +08:00
05b2e2bdcc *: refactor Execute() and clean up code (#17678)
- implement Execute using ExecuteStmt
- Execute is only for internal usage and accept only one statement
- clean up the old execute function
2020-06-09 13:58:39 +08:00
0ec197fae0 sessionctx: add some information about the rewriting phase into the slow log (#17569) 2020-06-09 13:49:42 +08:00
88dfb22dc5 executor: support batch-get cluster index & add test case (#17858) 2020-06-09 13:40:47 +08:00
36ea109b83 *: record execute runtime information in slow log (#17573) 2020-06-09 12:16: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
b05327509c session/statistics: discard feedbacks from delete / update (#17452) 2020-06-08 14:34:58 +08:00