Commit Graph

3888 Commits

Author SHA1 Message Date
8111d14c90 tests: make TestIssue20658 stable (#25092)
* tests: make TestIssue20658 stable
2021-06-03 18:15:35 +08:00
4d9c667aab infoschema, executor, txn: encode key field in DATA_LOCK_WAITS table (#25060) 2021-06-03 18:14:26 +08:00
69274d8864 store: refine the error handling and retry mechanism for stale read (#24956) 2021-06-03 17:52:26 +08:00
982dcece3b executor: fix incorrect result of enum type merge join (#24775) 2021-06-03 17:24:26 +08:00
50b6da0f89 executor: add limit implementation for CTEExec (#24870) 2021-06-03 16:26:27 +08:00
83a9a12a14 *: add sys var tidb_enable_global_temporary_table to open global temp table (#25075) 2021-06-03 16:10:45 +08:00
dbb753fd02 executor: create PipelinedWindowExec (#23022) 2021-06-03 15:38:27 +08:00
a37a30b883 planner: try to fix some unstable test cases about partition table statistics (#25026) 2021-06-03 15:27:29 +08:00
0f151af7c5 *: add telemetry support for CTE (#25022) 2021-06-03 14:46:27 +08:00
dffba21956 *: move executor/set.go special handling to setter functions (#25008) 2021-06-03 13:22:26 +08:00
c44b8d118b config: make deadlock history's max size configuable (#24925) 2021-06-03 12:26:26 +08:00
9fad132d1d case: make CTE case be stable (#25035) 2021-06-02 23:26:26 +08:00
8656b5d396 executor: avoid distsql request for TableReader/IndexReader/IndexLookup on temporary table (#24769) 2021-06-02 18:32:26 +08:00
1f79bfe637 *: fix ci lint (#25057) 2021-06-02 17:58:54 +08:00
f966a3d9fb executor: fix the wrong KVRange for partition tables in TableReader (#25047) 2021-06-02 17:30:43 +08:00
52e89cb8bf planner/core: support union all for mpp. (#24287) 2021-06-02 14:15:38 +08:00
7c3e0361fb executor: support explain analyze for CTE statement (#25023) 2021-06-02 13:31:37 +08:00
7811bf9a37 *: use pprof profile to collect CPU time group by SQL and plan digest (#24892) 2021-06-02 12:51:39 +08:00
c8c0dd0bb9 executor: supports as of timestamp compatibility (#25019) 2021-06-02 11:29:38 +08:00
0158f71cda ddl: support type conversion between non-varchar and varchar (#24959) 2021-06-01 18:59:37 +08:00
d435129d01 executor: make set transaction as of timestamp supports select statement (#24984) 2021-06-01 16:29:38 +08:00
ccaefa2a3d executor: add CTEExec and CTETableReaderExec (#24809) 2021-06-01 11:59:37 +08:00
02b4f3bcc8 executor: add more cases about dynamic-mode with plan-cache and transaction (#24998) 2021-06-01 11:23:36 +08:00
48e25cdebf executor: make the ParallelApply be safe to be called again after returning empty results (#24935) 2021-06-01 11:05:37 +08:00
xhe
238cab806e *: ddl compatibility test completion (#24983) 2021-05-31 18:17:38 +08:00
11019d6f34 ddl: add admin_checksum_table compatibility for temporary table (#24867) 2021-05-31 15:47:36 +08:00
702c86b8f9 *: add global/instance variable to config top sql (#24934) 2021-05-31 15:17:36 +08:00
ad9241f92c executor: hide tx_read_ts from show variables (#24926) 2021-05-31 14:03:36 +08:00
04cb5e9f67 variable: make tx_read_ts mutual exclude with tidb_snapshot (#24931) 2021-05-31 13:17:37 +08:00
7f4f5c0236 *: Change dynamic privileges to non-experimental (#24914) 2021-05-28 23:29:36 +08:00
ac04473227 planner, executor: support batchget for range and list partition table (#24856) 2021-05-28 21:01:35 +08:00
cea4e20689 executor: fix the unstable test TestDML (#24960) 2021-05-28 20:33:35 +08:00
c287bcb48c executor: Add plugin column to mysql.user (#24894) 2021-05-28 16:33:36 +08:00
1b048b1676 infoschema: Use system local time for tables of lock view (#24952) 2021-05-28 16:03:35 +08:00
0367c54698 inforschema, executor, util/kvcache, util/statement_summary : Add STATEMENTS_SUMMARY_EVICTED into information_schema (#24513) 2021-05-28 15:19:35 +08:00
b64f9007cf infoschema: Remove the unimplemented ALL_SQL_DIGESTS column from the DEADLOCKS table (#24939) 2021-05-27 22:25:35 +08:00
f3557bb591 planner, executor: supports select statement with AS OF (#24613) 2021-05-27 21:11:35 +08:00
c3a27c91ee infoschema: Add ALL_SQL_DIGESTS field to the TIDB_TRX table (#24863) 2021-05-27 19:49:35 +08:00
e87d035937 infoschema, executor, txn: implement DATA_LOCK_WAITS table (#24750) 2021-05-27 17:57:36 +08:00
96ab4a3f0a store/helper, infoschema: fix the bug that cannot find down-peer (#24881) 2021-05-27 13:25:35 +08:00
acf5e52ffc session, executor: fix misleading function name and move staleness test (#24902) 2021-05-26 15:31:35 +08:00
59ee6f8d01 executor: add more cases about dynamic-mode with union/DML/subquery (#24864) 2021-05-26 14:19:34 +08:00
f79dc8b218 executor: pessimistic lock on the temporary table should not be written to TiKV (#24737) 2021-05-26 12:41:34 +08:00
2b3905b44a *: avoid create new parser object in prepared exec (#24883) 2021-05-26 11:25:34 +08:00
66ad36ee10 planner, executor, statistics: support correlation calc for new sampling method (#24458) 2021-05-25 23:57:34 +08:00
eeb6641046 *: fix missing reset for DurationParse (#24468) 2021-05-25 20:57:34 +08:00
ced56153b8 executor,table: fix 'show create table' for the temporary table (#24857) 2021-05-25 20:33:34 +08:00
045e18f1c6 executor: do not send snapshot request for (batch) point get on temporary table (#24804) 2021-05-25 20:07:34 +08:00
051524ce95 kv: remove DelOption method (#24762) 2021-05-25 17:53:34 +08:00
681d8ccd16 executor: update memIndexLookUp to make it can read partition table correctly and add more cases about dynamic-mode with UnionScan (#24877) 2021-05-25 17:37:33 +08:00