Commit Graph

13076 Commits

Author SHA1 Message Date
e248a26eea config: add a test for config.toml.example (#23766) 2021-04-02 07:51:24 +08:00
503841f5cd planner, privileges: do not require SELECT for unqualified DELETE (#23647) 2021-04-02 07:35:24 +08:00
e2a2961440 table: fix a bug in TryGetHandleRestoredDataWrapper which may cause panic (#23806) 2021-04-02 00:58:40 +08:00
9a5a87d8b6 store/tikv: move test function (#23752)
Signed-off-by: disksing <i@disksing.com>

Co-authored-by: Ti Chi Robot <71242396+ti-chi-bot@users.noreply.github.com>
2021-04-02 00:35:46 +08:00
263fc63c7a store/tikv: move lock test to /tests (#23635) 2021-04-01 23:59:24 +08:00
008b91b12b planner: fix "can't find column" when projection wrongly added above table reader after agg pushed down (#23804)
* add test and comments
Co-authored-by: Ti Chi Robot <71242396+ti-chi-bot@users.noreply.github.com>
2021-04-01 23:42:17 +08:00
01b05745d8 execdetails: refine cop task execution stats display in plan (#23461) 2021-04-01 22:05:24 +08:00
cd5b91fa03 executor, planner: fix collation for hash join building (#23770) 2021-04-01 21:48:10 +08:00
91bcb21b57 ddl: fix secondary index len check for clustered index (#23710) 2021-04-01 21:03:26 +08:00
a8a7c0170b store/tikv: move sstore test to /tests (#23677)
Signed-off-by: disksing <i@disksing.com>

Co-authored-by: Ti Chi Robot <71242396+ti-chi-bot@users.noreply.github.com>
2021-04-01 19:38:07 +08:00
c2cb344c34 store/tikv: avoid placement dependency (#23767)
Signed-off-by: disksing <i@disksing.com>

Co-authored-by: Ti Chi Robot <71242396+ti-chi-bot@users.noreply.github.com>
2021-04-01 19:02:28 +08:00
653953f675 planner: build correct MaxOneRow info from multi-column conditions (#22915) 2021-04-01 18:33:24 +08:00
ac4fb02bd6 store/tikv: update scan test (#23762) 2021-04-01 18:11:24 +08:00
63fa91c46f ddl: prevent 'TEXT' columns without key length from being used in index (#23618) 2021-04-01 17:29:24 +08:00
80edc8cd20 variable: move supported sysvars from noop to sysvar list (#23781) 2021-04-01 14:43:24 +08:00
19919e3f3c tests: make TestIndexLookupMergeJoinHang and TestIssue18068 stable (#23741) 2021-04-01 14:25:24 +08:00
407c45483c util/chunk: replace outdated link with correct one (#23307) 2021-04-01 14:09:24 +08:00
2c83f2db18 server: fix Setting wait_timeout to 0 doesn't take effect #23351 (#23443) 2021-04-01 12:01:24 +08:00
2e30ac3d7d executor: add a test case for batch point queries on table partitions (#23746) 2021-04-01 11:36:51 +08:00
9dfc786c4c *: fix a bug that wrong index data on prefixed clustered index (#23742) 2021-04-01 10:15:27 +08:00
7b4817da9d config: remove redundant backslash (#23771) 2021-04-01 08:59:24 +08:00
xhe
d780a1f629 ddl: reorder flags checking (#23717) 2021-04-01 05:31:24 +08:00
5dab3f95bf executor: fix 'index out of range' issue in index lookup join (#23755) 2021-04-01 04:31:24 +08:00
d0291c802a executor: fix batchget overflow lock panic (#23774) 2021-04-01 03:33:24 +08:00
12883a49ea makefile: add --enable=deadcode to static-check (#23716) 2021-04-01 02:35:24 +08:00
f64856bba0 store/tikv: enlarge default committer-concurrency to avoid queuing (#23720) 2021-04-01 01:35:24 +08:00
b8b5151b5a metrics/grafana: Remove duplicate items "Owner Watcher OPS" (#23334) 2021-04-01 00:49:24 +08:00
90d02b2eed *: add support for dynamic privileges (#22778) 2021-04-01 00:17:24 +08:00
fb2df7675c tablecodec: fix text type decode for old row format (#23751) 2021-03-31 22:41:25 +08:00
4130033736 planner: fix wrong IndexScan plan reused in plan cache (#23758) 2021-03-31 22:07:24 +08:00
51bf619051 planner: fix set not null flag for outer join (#23727) 2021-03-31 19:33:24 +08:00
6dba91b630 config: remove index-usage-sync-lease from config.toml.example (#23740) 2021-03-31 18:43:24 +08:00
51a5a3df8f store/mockstore/mocktikv: Add mvccGetByKeyNoLock() to avoid double RLock (#16924) 2021-03-31 18:11:24 +08:00
c660cee89b planner/core: fix a bug during add cast for decimal join key (#23723) 2021-03-31 17:54:26 +08:00
7d7a2337d9 ddl: forbid type conversion between varchar and non-varchar (#23688) 2021-03-31 16:03:24 +08:00
8fca6a21a6 util: fix range building for binary literal (#23699) 2021-03-31 14:43:24 +08:00
55580eef8f variable: refactor set session validation (part 2) (#23566) 2021-03-31 11:49:24 +08:00
addbd46c3d store/tikv: fix misuse of PD client's GetStore (#23695) 2021-03-31 11:33:24 +08:00
f43f750fb5 plugin: fix linter --enable=deadcode check error (#23163) 2021-03-31 10:23:24 +08:00
3cf2bf9120 session: add session scope for tidb_enable_clustered_index (#23704) 2021-03-30 23:31:24 +08:00
3ed4a23b95 executor: refineArgs() bug fix when compare int with very small decimal (#23694) 2021-03-30 20:53:24 +08:00
c32895f667 expression: fix approx_percent panic on bit column (#23687) 2021-03-30 20:17:24 +08:00
f6e13b691f executor: fix point/batch on old row format clustered primary key with prefix columns (#23668) 2021-03-30 20:01:24 +08:00
a59c4df134 planner: set schema column be the same with new expr one (#23679) 2021-03-30 19:25:24 +08:00
c9360aed75 region_cache: invalidate region after meeting store_not_match (#23664) 2021-03-30 19:07:24 +08:00
135fad0714 executor: fix index join on prefix column index (#23678) 2021-03-30 18:31:24 +08:00
37bf124b73 planner: fix the panic when we calculate the partition range (#23651) 2021-03-30 18:03:24 +08:00
60111e1c4b planner: fix the issue that planner hints don't work in some batch/point-get plans (#23666) 2021-03-30 17:46:14 +08:00
67874c579a executor: fix a panic when batch point get is used for partition table (#23652) 2021-03-30 17:25:24 +08:00
402e3c8511 store/tikv: move split test to /tests (#23643) 2021-03-30 17:03:24 +08:00