Commit Graph

2866 Commits

Author SHA1 Message Date
ac30f5322e mockstore: introducing embedded unistore (#17156) 2020-05-18 17:28:44 +08:00
f06fc35531 planner: return error when SPLIT PARTITION TABLE on non-partitioned table (#17218) 2020-05-18 15:41:45 +08:00
0de6925e12 ddl: Add some limit for auto_random (#17119) 2020-05-15 21:28:44 +08:00
f5706c9099 executor: fix slow_query bug when query with time equal condition (#17225) 2020-05-15 18:28:53 +08:00
bcbc25db68 executor: make the aggregation function distinct consider collations (#17182) 2020-05-15 15:59:15 +08:00
ea2e215ff8 *: fix a bug caused by the wrong collation setting which leads to the wrong result of collation function (#17116) 2020-05-15 13:30:49 +08:00
1417ba2288 *: fix a bug that don't handle truncate properly for virtual generated column (#17217) 2020-05-14 20:57:55 +08:00
bb6ab156c7 executor: make test stable (#17206) 2020-05-14 20:14:27 +08:00
e8779717d9 planner, expression: Remove the default asc order in explain result (#17074) 2020-05-14 17:38:19 +08:00
bded6a2957 executor: refine split index region (#17070) 2020-05-13 22:31:00 +08:00
a1763c1b6e executor: fix memory corrupt in COUNT/JSON_OBJECTAGG/GROUP_CONCAT (#17106) 2020-05-13 16:58:20 +08:00
3f2d35a60b RFC + executor: Support global memory tracker (#16777) 2020-05-13 15:49:53 +08:00
5a0787dfa9 executor: fix flashback table faild in uppercase database name (#17093) 2020-05-13 14:55:57 +08:00
22f0c7f6c1 executor: fix slow_query bug when query with time equal condition and in different time zone (#17082) 2020-05-13 14:34:01 +08:00
44a894de6d planner: check plan type when executing explain format="dot". (#17144) 2020-05-13 12:54:05 +08:00
526a711c67 session, tikv: allocate task IDs for distsql requests (#16520) 2020-05-13 11:47:05 +08:00
ddd8f37616 executor: fix invalid converting in TiDB that convert bool values 'true' to int numbers '1' in 'set config' (#17142) 2020-05-13 10:42:19 +08:00
e0ec3e3cab executor: return an error if the target instance is not found in 'set config' statements (#17137) 2020-05-12 20:21:36 +08:00
308f104535 executor: fix the wrong result when use index_merge on the partition (#17032) 2020-05-12 16:23:05 +08:00
cfec13772b sessionctx: record if a query hits plan cache in slow log (#17088) 2020-05-12 15:49:05 +08:00
cf6c210719 planner: add explain information for slow_query extractor (#17110) 2020-05-12 15:34:38 +08:00
52837168ea executor: make memory tracing in ProjectionExec more accurate (#17109) 2020-05-12 14:13:05 +08:00
6a49bb4a84 *: fix a bug which causes function return truncated result (#17101) 2020-05-12 12:54:35 +08:00
b367d121d9 executor: return an error when updating TiDB instances' config items by 'set config'(#17100) 2020-05-12 10:57:15 +08:00
ce923ac85d executor: only reserve the sign bit when auto_random column is signed (#15566) 2020-05-11 18:19:36 +08:00
7facf07f2e infoschema: fix exec_count of prepared statements in statement summary (#17064) 2020-05-11 14:54:05 +08:00
dd4f2405bd codec: improve the coverage of key path in codec (#17023) 2020-05-11 11:11:38 +08:00
c258afafe2 *: index codec for common handle (#16998) 2020-05-09 16:18:05 +08:00
fcfedb77fc executor: bootstrap SQLs are not treated as internal queries in statement summary (#17024) 2020-05-09 16:01:35 +08:00
8ea2ed03e7 session: Move OptimizerUseInvisibleIndexes from SmtmCtx to SessionVars (#17040) 2020-05-09 08:41:05 +08:00
664db4e33c ddl: forbid truncating sequence object (#16981) 2020-05-08 14:54:42 +08:00
3224393c7f executor: fix wrong plan type for dataReaderBuilder error (#17028) 2020-05-08 14:34:45 +08:00
26e946d25e plannercore: ignore invisible indexes in optimizer (#15421) 2020-05-07 11:00:40 +08:00
20ebd8160a planner: add explain info for ClusterTableExtractor (#16584) 2020-05-06 21:12:09 +08:00
7ebcc20398 executor: support GROUP_CONCAT(ORDER BY) (#16591) 2020-05-06 18:41:22 +08:00
1c3435b4a6 executor: remove default search time range of cluster_log when query without time range. (#16938) 2020-05-06 13:48:29 +08:00
5d74cf582d executor: fix unique index point get read with delete first (#16965) 2020-05-04 22:11:56 +08:00
43764a59b7 RFC + Support of BACKUP and RESTORE statements (#15274) 2020-04-30 19:35:56 +08:00
c0814f0b0e return err when INSERT/UPDATE/ANALYZE/DELETE a sequence (#16936) 2020-04-30 16:52:38 +08:00
c3b6a52beb executor: disallow subquery in insert values clause reference upper scope (#16872) 2020-04-30 14:31:56 +08:00
30f6f32708 tests: abstract Cluster interface for introducing new mock... (#16940) 2020-04-30 10:46:55 +08:00
46e37a1700 executor: generalize SHOW TABLE t NEXT_ROW_ID for auto_random and sequences (#16821) 2020-04-29 20:00:26 +08:00
51dabaabef *: refactor Handle in executor package (#16871) 2020-04-28 21:27:19 +08:00
092dbc0326 executor: remove useless union scan codes (#16683) 2020-04-28 16:46:05 +08:00
3a07cf7fcc executer: add Cop_time in slow log (#16873) 2020-04-28 15:08:09 +08:00
26e208b9df executor, types: copy enum/set instead of refer the underlying data (#16858) 2020-04-28 13:00:40 +08:00
b32e834a8d server: let select for update could be recorded for slow log and statements (#16743) 2020-04-28 12:11:56 +08:00
38f4d869d8 fix auto random base comment in show.go (#16859)
Co-authored-by: pingcap-github-bot <sre-bot@pingcap.com>
2020-04-27 17:04:36 +08:00
468b8c6f7b executor, privilege: introduce a new privilege for the set config statement (#16847) 2020-04-27 14:17:38 +08:00
6814f8c94b *: refactor Handle in table package (#16807) 2020-04-27 10:04:50 +08:00