Commit Graph

92 Commits

Author SHA1 Message Date
494672cb51 admin: impl admin check index for mv index (#40270)
close pingcap/tidb#40272
2023-01-03 16:58:20 +08:00
2150c6b3a1 executor: close recordset again (#40073) 2022-12-21 15:52:55 +08:00
47f54603fa executor: close recordset again (#40010) 2022-12-19 11:40:54 +08:00
0f93f7b661 *: close resultSets (#37906) 2022-09-17 13:12:59 +08:00
a06365954f executor: close ResultSet in test (#37787) 2022-09-14 11:14:58 +08:00
f3eb59c079 executor: close RecordSet (#37003) 2022-08-10 13:00:47 +08:00
xhe
9a16a8dd19 *: replace defer clean with t.Cleanup (#36722)
close pingcap/tidb#36721
2022-08-01 17:34:05 +08:00
158ba1a1d9 *: enable part revive for all code (#36703) 2022-08-01 14:02:06 +08:00
85967fd3be *: implement chunk rpc encoding for unistore (#35114)
close pingcap/tidb#35113
2022-06-06 23:20:29 +08:00
4e21680458 log: avoid panic on unknown log format (#34360)
close pingcap/tidb#34359
2022-05-04 10:14:54 +08:00
05b9157957 executor: correct the table range built by 'recover index' (#32960)
close pingcap/tidb#32915
2022-03-28 11:28:28 +08:00
3058104232 ddl: disable some DDL operation when a table is cached (#32827)
close pingcap/tidb#32826
2022-03-17 18:04:31 +08:00
0c9b0c0ef2 util/testutil: cleanup testutils depend on pingcap/check (#32662)
close pingcap/tidb#32660
2022-02-28 20:01:45 +08:00
9c64224c49 *: Reduce data inconsistencies (#31547)
ref pingcap/tidb#26833
2022-02-11 13:51:36 +08:00
2e79433b71 test: merge executor's serial tests to other tests (#30711) 2021-12-15 19:36:35 +08:00
b4df7ca4dc test: make all the tests run in serial (#30692) 2021-12-14 18:06:36 +08:00
9b71e469e3 executor: migrate test-infra to testify for admin_test.go (#29352) 2021-11-12 23:07:07 +08:00
ac2c6f8d87 ddl : ddl forbid stale read for cache table and support history read (#29173) 2021-10-29 17:08:49 +08:00
7b4ca57ac6 ddl : add admin check table / checksum table compatibility for cache table (#29096) 2021-10-26 20:26:48 +08:00
958ab48fa0 *: set global temporary table as GA (#28525) 2021-10-14 11:27:26 +08:00
xhe
94e30df8e2 parser: fix compiling, add unit tests (#28700) 2021-10-11 23:15:25 +08:00
42e8d29931 *: Remove noop function check for local temporary table (#28282) 2021-09-26 11:30:46 +08:00
7755d25aba *: Integrate SkyWalking-eyes to check license headers in CI and fix licenses headers (#27198) 2021-08-16 18:52:00 +08:00
e01d794985 executor: add test case of admin check/checksum table in local temporary table (#26775) 2021-08-04 11:37:06 +08:00
352f609437 ddl: add admin_check_index compatibility for temporary table (#26465) 2021-08-03 16:27:07 +08:00
ac06d78691 *: enable column-type-change totally (#25263) 2021-06-09 10:56:29 +08:00
9f8175743f *: refine some error messages (#24767) 2021-06-03 21:14:26 +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
11019d6f34 ddl: add admin_checksum_table compatibility for temporary table (#24867) 2021-05-31 15:47:36 +08:00
b7c22aa31d kv: remove UnionStore interface (#24625) 2021-05-13 21:29:39 +08:00
89c0e6c91a ddl: add check table compatibility for temporary table (#24501) 2021-05-12 21:49:40 +08:00
aee5819a20 *: change @@tidb_enable_clustered_index to ON/OFF/INT_ONLY (#23529) 2021-03-26 15:59:24 +08:00
c22cbc0d10 executor: truncate column values from index KV during admin check (#23218) 2021-03-10 18:35:40 +08:00
5f73c822ca kv/union_store:remove tableinfo from union_store (#22976)
Co-authored-by: disksing <i@disksing.com>
2021-03-04 16:30:42 +08:00
b5a9076aea *: new secondary index value format (#20220) 2021-03-03 21:16:54 +08:00
27db39b480 *: use CLUSTERED and NONCLUSTERED to control primary key type (#22409) 2021-02-05 20:41:41 +08:00
28c9e9290b *: gocritic fixes for commentFormatting (#21578) 2020-12-09 12:03:17 +08:00
de4612597c transaction: lock unique key for delete operation (#19220)
Signed-off-by: you06 <you1474600@gmail.com>
2020-10-29 12:08:26 +08:00
c8221fab81 ddl: support column type change between decimal && SQL mode warnings (#20012) 2020-09-29 15:56:35 +08:00
438945d294 *: enable clustered index by default (#19582) 2020-08-31 16:54:51 +08:00
127c3aa61d executor: support admin cleanup for clustered index table (#19522)
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-08-28 11:46:52 +08:00
eff7837795 executor: support 'recover index' in clustered index tables (#19284)
* support 'recover index' in clustered index table

* ddl: add truncate to buildCommonHandleFromChunkRow

* executor: truncate the updated handle

* executor: set core.HandleCols in the initialization of RecoverIndexExec

* refine code

* remove unused code

* fix integration test

* fix integration test

* address comment

* early return when recovering clustered pk

* remove panic

Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-08-26 11:51:52 +08:00
761a961ba0 kv: refactor MemBuffer and reduce the memory usage (#18372) 2020-07-15 15:26:25 +08:00
a6971dd685 *: support 'admin check table' on clustered index table (#18346) 2020-07-14 15:59:37 +08:00
127ad504b2 table: optimize add record used in lightning (#18102) 2020-06-24 15:18:01 +08:00
b923b9e5de util/admin: support admin cleanup index on the partition table (#17203) 2020-05-26 13:13:40 +08:00
2bdf6a01cc util/admin: support admin check index on partition table (#17183) 2020-05-25 21:25:33 +08:00
4078eb4ae5 util/admin: support admin recover index on the partition table (#17195) 2020-05-20 17:10:44 +08:00
6814f8c94b *: refactor Handle in table package (#16807) 2020-04-27 10:04:50 +08:00
dad33fff9d exec: remove duplicate auto-generated test cases (#14910) 2020-02-24 15:54:07 +08:00