Commit Graph

810 Commits

Author SHA1 Message Date
b1ecabb559 txn: Optimize pessimistic transaction by supporting locking with conflict (#35588)
close pingcap/tidb#40537
2023-01-13 11:09:46 +08:00
43ebc64094 ddl: support online create multi-valued index (#40304)
close pingcap/tidb#40337
2023-01-06 16:24:21 +08:00
affe126097 *: support curdate() as column's default value | tidb-test=pr/2057 (#40326)
close pingcap/tidb#38356
2023-01-05 16:14:20 +08:00
494672cb51 admin: impl admin check index for mv index (#40270)
close pingcap/tidb#40272
2023-01-03 16:58:20 +08:00
d3b952a49a executor: write multi-valued index (#40172)
close pingcap/tidb#40207
2022-12-30 13:38:17 +08:00
47ace08035 *: filter particularly errors when truncateAsWarning is true (#40078) 2022-12-21 23:16:55 +08:00
c26a6b5297 *: lock row keys during merging back from temp index (#39936)
close pingcap/tidb#39929
2022-12-14 23:38:53 +08:00
1ff1342283 ddl: mark the writes from delete-only and drop them on merge (#39796)
close pingcap/tidb#39731
2022-12-10 12:05:41 +08:00
6784bfd0e8 sessionctx: move shardRand from TransactionContext to SessionVars to reduce allocation (#39661) 2022-12-08 20:28:05 +08:00
6924a443f4 *: fix panic when add index on prefixed pk tables (#39740)
close pingcap/tidb#39723
2022-12-07 21:58:03 +08:00
19dae1fa73 *: separate auto_increment ID allocator from _tidb_rowid allocator when AUTO_ID_CACHE=1 (#39041)
close pingcap/tidb#982
2022-11-29 20:20:00 +08:00
12d1cf6811 executor: fix issue of foreign key cascade don't work cause by untouched index key (#39420)
close pingcap/tidb#39419
2022-11-28 22:47:59 +08:00
03034b6eee ddl: properly handle existence checks for deleted records in temp index (#39371)
close pingcap/tidb#39321
2022-11-28 21:13:59 +08:00
cf49466a1e executor: move FillVirtualColumnValue to the table package (#39342) 2022-11-23 17:59:58 +08:00
d3a63e93ea ddl: fix data inconsistency for untouched values during add index (#39239)
close pingcap/tidb#39232
2022-11-21 11:55:57 +08:00
d734cc8e8e *: refactor some functions for better reusability (#39133) 2022-11-14 17:13:55 +08:00
21d6190278 txn: tidb_constraint_check_in_place_pessimistic should not be global scoped (#38767)
close pingcap/tidb#38766
2022-11-07 10:31:50 +08:00
f9c7bbccec *: authentication using tidb_auth_token plugin (#38773)
close pingcap/tidb#38504
2022-11-04 02:54:00 +08:00
3baebdba63 table/tables: fix unstable test TestCacheTableBasicReadAndWrite (#38820)
close pingcap/tidb#36586
2022-11-03 11:40:00 +08:00
5cdfea619f *: bring back the 'make ut' (#38806) 2022-11-02 17:18:00 +08:00
9743a9a2d2 txn: add table name in dup entry error message (#38243)
Signed-off-by: ekexium <eke@fastmail.com>
2022-10-19 14:14:55 +08:00
4adfaf1ec0 *: enable race for some part (#38288) 2022-10-08 12:03:49 +08:00
5c4b328b02 variables: enable variable hook to access storage (#38227)
close pingcap/tidb#38225
2022-10-01 02:35:45 +08:00
52099eb910 *: DATA RACE in the temptable.AttachLocalTemporaryTableInfoSchema (#38237)
close pingcap/tidb#38236
2022-09-29 14:07:45 +08:00
1eeedacc60 *: remove goleak's ignoring opencensus top function (#37908) 2022-09-19 12:29:00 +08:00
c4638b70fd *: support metadata lock (#37393)
ref pingcap/tidb#37275
2022-09-18 20:57:00 +08:00
0f93f7b661 *: close resultSets (#37906) 2022-09-17 13:12:59 +08:00
8161947cc8 *: Support multi-column RANGE COLUMNS partitioning (#36637)
close pingcap/tidb#36636
2022-09-16 17:47:00 +08:00
e2abe3df41 ddl: support create index with ingest method (#37847)
ref pingcap/tidb#35983
2022-09-16 17:18:59 +08:00
40e67edcca *: redirect the DML writes to a temp index during creating index (#37709)
ref pingcap/tidb#35983
2022-09-15 11:22:59 +08:00
7eb7ca902a planner: fallback to static plan for partition table if having no global stats in dynamic prune mode (#37573)
ref pingcap/tidb#37535
2022-09-08 09:20:57 +08:00
be7de700bd ddl: add logs to backfill worker and refactor some methods (#37662)
ref pingcap/tidb#35983
2022-09-07 17:18:57 +08:00
170dafc7e1 types: merge json and types pkg (#37578)
close pingcap/tidb#37577, close pingcap/tidb#37628
2022-09-05 19:42:55 +08:00
835922a5cd txn: support skipping locking of some INSERT in pessimistic transactions (#36473)
close pingcap/tidb#36579
2022-09-01 18:34:25 +08:00
6e582640d7 *: upgrade glangci-linter (#37413) 2022-09-01 12:14:24 +08:00
ccd4f347a2 *: Enable tiflash_fastscan variable and remove fast mode alter statment (#37027)
ref pingcap/tidb#35850
2022-08-29 11:28:22 +08:00
a8f524b31b *: rename TemporaryTableAttachedInfoSchema (#37408) 2022-08-26 18:06:21 +08:00
a89ef1f276 *: support ACCOUNT (UN)LOCK when creating/altering user (#37052)
close pingcap/tidb#35961, close pingcap/tidb#37051
2022-08-25 16:12:22 +08:00
9af0f03506 *: only create snapshot interceptor for temporary table when needed (#37225)
close pingcap/tidb#37223
2022-08-22 12:28:53 +08:00
44f684ec77 *: only create TemporaryTableAttachedInfoSchema if needed (#37196)
close pingcap/tidb#37195
2022-08-18 18:34:51 +08:00
a1d1356072 ddl: Fix for unsigned partitioning expressions (#36830)
close pingcap/tidb#35827
2022-08-18 18:16:51 +08:00
d0f8487dea *: support specifying range bits for auto_random (#36860)
close pingcap/tidb#32508
2022-08-16 20:54:50 +08:00
483183e5f2 table/tables: fix bug for jepsen test on cached table (#37020)
close pingcap/tidb#36885
2022-08-16 17:02:51 +08:00
d6d0ce7b10 *: gofmt code for adapting go 1.19 (#36832)
ref pingcap/tidb#36879
2022-08-11 12:50:49 +08:00
b150be8200 *: optimize temptable.SessionSnapshotInterceptor (#36999)
close pingcap/tidb#37000
2022-08-10 19:54:48 +08:00
xhe
28d08a94ff table: fix unstable TestBeginSleepABA (#36884)
ref pingcap/tidb#36838
2022-08-04 14:20:06 +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
6baea73277 *: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (#36660) 2022-07-28 19:23:11 +08:00
15009a7c4e *: clean code (#36655) 2022-07-28 15:09:11 +08:00