Commit Graph

2771 Commits

Author SHA1 Message Date
e63a10e931 Add the check for expression evaluation in some executors (#16339) 2020-04-15 10:46:02 +08:00
c1a31708b0 executor: fix wrong result for index merge read generate column (#16002) 2020-04-14 17:40:03 +08:00
e90aac2710 executor: add config EnableCollectExecutionInfo (#15493) 2020-04-13 20:45:25 +08:00
32149dcc23 ddl: fix a panic when creating key partition table (#16260)
mysql> create table t(a char(5), unique key(a(5))) partition by key() partitions 5;
ERROR 2013 (HY000): Lost connection to MySQL server during query
2020-04-13 16:53:03 +08:00
8891c9d34e infoschema: fix select * from inspection_summary would return null. (#16099) 2020-04-10 17:25:10 +08:00
1c73deca59 ddl: add syntax for setting the cache step of auto id explicitly. (#15409) 2020-04-10 15:57:51 +08:00
36d8171319 expression: fix panic of explain for connection when plan cache is enabled (#16206) 2020-04-10 15:48:17 +08:00
c561d5aa99 *: remove useless conversions and omit some types (#16262) 2020-04-10 00:23:06 +08:00
2a2bf377ae executor/inspect: remove redundant code (#16254)
Signed-off-by: crazycs520 <crazycs520@gmail.com>
2020-04-09 21:11:51 +08:00
3b52c7f460 ddl, executor: refine error message for rollback DDL job (#16235) 2020-04-09 18:00:39 +08:00
49ee75a0a5 planner, executor: enable inline projection for merge join (#15463) 2020-04-09 15:58:32 +08:00
c635ac8cc4 infoschema: fix tidb version showed in cluster_info table and update the go.mod for new sysutil (#16003) 2020-04-09 13:43:09 +08:00
af0a49cb7a [store/tikv] support batch coprocessor for TiFlash (#16030) 2020-04-09 13:01:09 +08:00
0f302966a4 test:make TestLoadDataMissingColumn stable (#16130) 2020-04-08 22:48:39 +08:00
d8978cb53e config: support temporary storage usage limitation (#15700) 2020-04-08 22:14:09 +08:00
6a45a7d6ee mocktikv: avoid sorting multiple times with unstable order (#15898) 2020-04-08 16:08:17 +08:00
c2538facc9 ddl: Support the operation of adding multi-columns (#15540) 2020-04-08 13:22:25 +08:00
475dc29d53 executor/inspect: Add a status_address of inspection_result table to indicate the status address. (#15589) 2020-04-08 12:20:03 +08:00
dda190a830 ddl: fix repeatedly recover table error (#16116) 2020-04-08 11:03:31 +08:00
96d96ceb73 executor: fix unexpected error in union stmt. (#16073) 2020-04-08 09:45:55 +08:00
38d9711560 planner: Add explain info for InspectionRuleTableExtractor (#16087) 2020-04-08 00:44:54 +08:00
c31e4be8de executor/inspect: add config check for storage.block-cache.capacity of TiKV config (#15985) 2020-04-07 22:26:18 +08:00
e5bd867c50 executor: show create table ignores 'binary' collate table option (#15842) 2020-04-07 19:24:59 +08:00
d750db3213 *: remove order support in sequenceInfo (#16105) 2020-04-07 17:47:35 +08:00
c48499ff36 planner, executor: set TblInfo correctly when fast analyze PK (#16005) 2020-04-04 15:29:54 +08:00
c81e903804 *: use the revertable sandbox to buffer mutations (#15931) 2020-04-03 14:54:27 +08:00
a93e91fc57 executor: Improve the performance of aggFuncAvg by using sliding window (#15606) 2020-04-03 14:02:38 +08:00
0fcece7bbc *: show correct result for system variable tidb_capture_plan_baselines (#16013) 2020-04-03 12:18:08 +08:00
827edde585 executor: implemented exclusive lock for temp storage dir per tidb instance (#15203) 2020-04-02 22:37:39 +08:00
b02badc73f executor: fix tiflash store information in cluster_info table (#15871) 2020-04-02 22:20:10 +08:00
ff47c8d05f parser: apply feature-ids special comments to auto_random (#15412) 2020-04-02 20:19:39 +08:00
90bf5e16a0 info_schema: fix memtable column flag type (#15944) 2020-04-02 14:20:12 +08:00
959eca8f3a ddl: Refine the error message of add index, to avoid error overwritten (#15808) 2020-04-01 22:14:16 +08:00
dec9371d8a executor: fix building hash table with TypeNull when join (#15913) 2020-04-01 21:18:58 +08:00
5a2f7da485 executor: avoid allocating too much memory in newRowHashMap wi… (#15963) 2020-04-01 21:07:45 +08:00
4eb9ca3d3f planner: push aggregation functions with distinct to cop (#15500) 2020-04-01 20:49:14 +08:00
5d846cfe7d statistic: fix error when fast analyze on only indexes (#15889) 2020-04-01 18:51:15 +08:00
07194a0e98 planner, executor: fix wrong result of semijoin for INLHashJoin (#15952) 2020-04-01 18:42:40 +08:00
a5645ef6d2 executor/inspect: refactor current-load diagnosis rule to node-check (#15860) 2020-04-01 18:10:02 +08:00
312891bae1 statistics: fix panic when merge topn (#15845) 2020-04-01 16:39:29 +08:00
cfd875219e planner: invalidate cached plan if no UnionScan for tables that need it (#15429) 2020-04-01 16:05:36 +08:00
c74bd8f632 ddl: added (ddl.DDL).Create{Table,Schema}WithInfo (#15806) 2020-04-01 14:59:40 +08:00
1a5cdb595a Executor: add disk tracker for Sort Executor (#15903) 2020-04-01 12:55:41 +08:00
4b5f8bf389 executor, infoschema: Migrate dataForTiKVStoreStatus from package infoschema to executor (#15591) 2020-04-01 12:08:17 +08:00
5137cbc2b1 executor: do not log slow query for pessimistic write conflict retry (#15890) 2020-03-31 22:42:41 +08:00
a1d627a24e expression: fix incorrect result of logical operators for vectorized expression evaluation (#15891) 2020-03-31 17:41:41 +08:00
2619f02ddd *: move hint and block hint processor to util directory (#15897) 2020-03-31 16:37:45 +08:00
5192c26150 executor: optimize count distinct with single column (#15323) 2020-03-31 15:04:12 +08:00
94fb1bf18d txn: stop more statement executions if pessimistic transaction ttl manager timed out (#15877) 2020-03-31 11:53:41 +08:00
17530c4059 expression: Support collate for user session variable (#15449) 2020-03-31 11:29:07 +08:00