Commit Graph

13763 Commits

Author SHA1 Message Date
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
46ad95ca2e planner: disable partition table dynamic mode by default (#25339) 2021-06-15 11:06:36 +08:00
bca2f7250f logutil: InitLogger as a more abstract method, deprecated InitZapLogger (#25381) 2021-06-15 10:54:37 +08:00
a45b3aaa2b variable: small cleanups (#25266) 2021-06-12 01:04:35 +08:00
07d16065d1 *: update br and kvproto (#25378) 2021-06-12 00:56:35 +08:00
3ed698259d infoschema: maintain the snapshotTS in the infocache (#25322) 2021-06-11 22:42:35 +08:00
xhe
9189ec66ac *: stale reads compatible with prepare (#25156) 2021-06-11 19:32:35 +08:00
da23dd7b13 config: add config for tidb_enforce_mpp and remove the global scope of it. (#25369) 2021-06-11 19:14:35 +08:00
cc5e161ac0 *: use tikv/client-go/v2 (#25359) 2021-06-11 17:24:35 +08:00
5a1606740c ddl: add create table like check for temporary table (#25082) 2021-06-11 16:50:35 +08:00
3910f383ce types: optimize MyDecimal.ToFloat64 (#25229) 2021-06-11 14:36:35 +08:00
f4e608b8ba util: improve TopSQL reporter memory efficiency (#25195) 2021-06-11 13:16:35 +08:00
b76d4675d5 planner/core: fix bug that injected proj get wrong index. (#25336) 2021-06-11 12:24:35 +08:00
9505b4bc69 sli: move small read duration metrics to store/tikv (#25343) 2021-06-11 12:00:36 +08:00
487c08affa infoschema, util/stmtsummary: enhance statements_summary. (#25031) 2021-06-11 11:14:34 +08:00