Commit Graph

13777 Commits

Author SHA1 Message Date
5645edeec6 planner,executor: fix point get for update read panic on partition table (#25537) 2021-06-18 12:22:38 +08:00
fce508702f metrics: refine the SafeTS gap metric and panel (#25530) 2021-06-18 12:14:38 +08:00
8945d64362 planner: fix the panic that the index's range length may exceed its original column count (#25267) 2021-06-18 12:04:38 +08:00
9c947dffe4 ddl: fix create partition table error under NO_UNSIGNED_SUBTRACTION (#25435) 2021-06-18 11:50:38 +08:00
793517dfaf config: Add Lock View's config to config example and test (#25470) 2021-06-18 11:38:38 +08:00
0e32561000 planner: fix getPartitionColumnPos panic (#25524) 2021-06-18 11:30:38 +08:00
2653b128ed planner: forbid BatchPointGet on tables partitioned by compound expressions (#25538) 2021-06-18 11:02:38 +08:00
xhe
507ee3e1ce *: hide txn scope setting (#25519) 2021-06-18 10:44:38 +08:00
2f510fbb41 docs: update dynamic privileges proposal for SEM changes (#25503) 2021-06-18 09:04:38 +08:00
03847a8ded executor, infoschema: Add cluster_statements_summary_evicted table to TiDB (#25418) 2021-06-17 21:02:38 +08:00
a9117613dd store/tikv: clean up stale tests (#25488) 2021-06-17 20:54:40 +08:00
ba77a2f58f planner: select distinct should bypass batchget (#25477) 2021-06-17 20:38:38 +08:00
ed686d1963 executor: fix a stupid mistake in filterTemporaryTableKeys() function (#25521) 2021-06-17 16:20:37 +08:00
57792c3d11 *: Fix ALTER USER privilege requirements (#25461)
* executor, planner: Allow ALTER USER to work on current user


Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
2021-06-17 13:47:53 +08:00
9e08fc559c planner: fix begin statement consumed read_ts wrongly (#25492) 2021-06-17 10:48:37 +08:00
74055f7f0e statistics, executor: fix new collation for analyze version 2 (#25311) 2021-06-17 01:32:37 +08:00
314d396d65 planner: make sure limit outputs no more columns than its child (#25345) 2021-06-17 01:16:38 +08:00
xhe
b43f24fac4 executor: stable tests (#25495) 2021-06-17 00:56:38 +08:00
xhe
3c979129fc executor: mutex snapshot with txn (#25468) 2021-06-17 00:26:37 +08:00
0490590b01 planner,executor: fix 'select ...(join on partition table) for update' panic (#21148) 2021-06-16 23:00:37 +08:00
ed52601e6e executor: check ErrRowDoesNotMatchGivenPartitionSet when inserting rows into a partition table (#25484) 2021-06-16 20:58:37 +08:00
efc774aa5f planner: check filter condition in func convertToPartialTableScan (#25294) 2021-06-16 15:12:37 +08:00
976ec3dc7c ddl: converts NULL to NOT NULL for column types with NULL data reports err (#24641) 2021-06-16 15:02:38 +08:00
627fb5f542 store, metrics: update SafeTS metrics and grafana panels (#25407) 2021-06-16 14:54:38 +08:00
97e7b60a0b expression: PlusInt check null iff overflow (#25466) 2021-06-16 14:28:37 +08:00
cea06b3d49 planner: fix wrong aggregate pruning for some cases (#25289) 2021-06-16 14:12:37 +08:00
00761c1c5d expression: empty CURRENT_ROLE (#25438) 2021-06-16 13:30:36 +08:00
c6090a2888 store/tikv: remove files (#25440) 2021-06-16 13:04:37 +08:00
9461f5ba55 docs/design: add proposal for common table expression (#24147) 2021-06-16 10:30:36 +08:00
47f6ba21f4 store: avoid sessions of GC being affected by global variables (#24975) 2021-06-15 20:18:37 +08:00
0e3737b1b4 metric: fix wrong total-query-counter label (#25402) 2021-06-15 19:44:37 +08:00
065ef434f6 store/tikv: avoid using unistore failpoints (#25421) 2021-06-15 19:24:37 +08:00
fc48db9743 executor: check the length of lookUpContent in prunePartitionForInnerExecutor (#25426) 2021-06-15 18:16:36 +08:00
aa9e5c6ea6 planner: fix index join on unmatched collation suffix columns paniced (#24828) 2021-06-15 17:32:36 +08:00
c62adba22f store/tikv: interate all keys in relocate of batch-get (#25429) 2021-06-15 17:20:36 +08:00
b52a38981c *: change SHOW CONFIG to require CONFIG privilege (#25379) 2021-06-15 16:56:36 +08:00
c8772c4bce executor: fix incorrect rows returned by TABLESAMPLE (#25357) 2021-06-15 16:36:37 +08:00
0da89207c9 txn: fix panic on duplicate insert on index column len longer than data len (#25414) 2021-06-15 16:00:37 +08:00
e522e35faf statistics: fix row count when not fully loading ver2 stats (#25388) 2021-06-15 15:20:37 +08:00
f7f1878f14 store/tikv: sort keys in batch get (#25416) 2021-06-15 15:12:38 +08:00
beec206ede ddl/partition: remove the usage of package 'pd/pkg/slice' (#25356) 2021-06-15 14:40:36 +08:00
xhe
07d0b2d845 planner: forbid prepared stale select in txn (#25375) 2021-06-15 14:30:37 +08:00
bd11917ca0 bindinfo,planner: report error when creating sql binding on temporary table (#25058) 2021-06-15 14:08:37 +08:00
39c503ef68 executor: fix panic for point get executor during stale read (#25292) 2021-06-15 13:44:36 +08:00
2dbcc6cf70 ddl: fixed update data report an error when converting from CHAR to DATETIME after adding columns (#25384) 2021-06-15 13:36:36 +08:00
9321489621 ddl, executor: fix test race in terror (#25405) 2021-06-15 13:16:36 +08:00
1ad33d8da4 ddl: fix drop table show errors (#25071) 2021-06-15 12:46:36 +08:00
49cbbc4655 variable: set max duration of gc interval/lifetime to 365 days (#25396) 2021-06-15 12:36:37 +08:00
b51a9ca71c *: fix sem dynamic privilege permission issues (#25316) 2021-06-15 12:28:37 +08:00
xhe
1a669a38c4 executor: snapshot for (batch) point get not working correctly (#25346) 2021-06-15 12:04:37 +08:00