Commit Graph

589 Commits

Author SHA1 Message Date
8d9e67b37d planner: Fix issue 52198, HandleColOffset was wrong. (#52210)
close pingcap/tidb#52198
2024-03-28 13:18:48 +00:00
04c45067c5 test: stablize p-dml test & handle cache table when init store (#52093)
ref pingcap/tidb#50215, close pingcap/tidb#52092
2024-03-28 01:05:18 +00:00
a804eaf6dd ddl: enhance row size estimation before adding index (#52086)
close pingcap/tidb#52085
2024-03-27 02:59:17 +00:00
7b8fd3729f expression: set a collation according to the arguments for ifnull in constant folding (#52119)
close pingcap/tidb#51765
2024-03-27 02:24:47 +00:00
99ba63abf1 infoschema: fix drop schema for infoschema v2 (#52024)
ref pingcap/tidb#50959
2024-03-25 14:27:46 +00:00
b9d83d3efb ddl: determine whether to use merge sort by each index separately (#52000)
close pingcap/tidb#52004
2024-03-22 06:59:13 +00:00
5e19822d0d importinto: precheck to avoid run 2 jobs to import the same table (#51997)
ref pingcap/tidb#49008
2024-03-21 14:45:43 +00:00
61ba63982d executor: align behavior of foreign keys in "SHOW CREATE TABLE" with MySQL. (#51294)
ref pingcap/tidb#51837
2024-03-21 14:14:14 +00:00
69c26ae8af infoschema: fix exchange partition test cases for infoschema v2 (#51981)
ref pingcap/tidb#50959
2024-03-21 13:23:15 +00:00
b91a1b3c41 lightning: change MinRowID because ADD UNIQUE INDEX may be smaller (#51955)
close pingcap/tidb#51954
2024-03-21 11:08:14 +00:00
a04fed93a7 util: skip always false DNF (#51901)
close pingcap/tidb#40997
2024-03-21 10:35:14 +00:00
454e5a790e infoschema: fix regression on select table_rows from information_schema.tables for partition table (#51980)
close pingcap/tidb#51942
2024-03-21 10:00:43 +00:00
2fffb7fb29 ddl: fix adding multi-value index (#51884)
close pingcap/tidb#51162
2024-03-21 03:30:43 +00:00
735adb03ea external: make global sort common.Range unencoded (#51900)
close pingcap/tidb#51910
2024-03-20 13:24:44 +00:00
bdc64e572b *: Revert "add super privilege check for some admin commands (#51497)" (#51938)
close pingcap/tidb#51936
2024-03-20 08:32:34 +00:00
9b6db9d47a txn: fix the warnings in pipelined dml (#51867)
ref pingcap/tidb#50215
2024-03-19 05:35:14 +00:00
af897798b9 txn: implement staging for Pipelined DML (#51832)
ref pingcap/tidb#50215
2024-03-18 12:27:43 +00:00
c5359cad37 *: update pingcap/errors version (#51854) 2024-03-18 11:05:12 +00:00
af76c2ff1e planner: support OR list nested in AND list for mv index (#51716)
close pingcap/tidb#51778
2024-03-18 06:23:13 +00:00
26e4988398 txn: check unsupported table types for Pipelined DML (#51839)
ref pingcap/tidb#50215
2024-03-18 03:59:19 +00:00
b3cb95db05 txn: save RPCs for Pipelined-DML (#51652)
close pingcap/tidb#51625
2024-03-16 11:59:11 +00:00
e158c21d56 planner: fix the issue about simplify outer join to inner join (#51750)
close pingcap/tidb#51560
2024-03-16 11:09:41 +00:00
2af6e31eac tests: add expression default values feature relevant tests for different types of tables and indexes (#51687)
close pingcap/tidb#51686
2024-03-15 09:57:41 +00:00
68c03cfb65 txn: enable pipelined dml by hint (#51770)
ref pingcap/tidb#50215
2024-03-15 08:59:11 +00:00
e8ff3c0c44 ddl: forbid alter table partition with global index needed (#51635)
close pingcap/tidb#51634
2024-03-15 07:36:41 +00:00
323858c805 ddl: fix the wrong logic to assert whether table has foreign key (#51808)
close pingcap/tidb#51762, close pingcap/tidb#51807
2024-03-15 07:02:25 +00:00
571d0e8164 infoschema: support rename table for infoschema v2 (#51745)
ref pingcap/tidb#50959
2024-03-15 07:02:11 +00:00
1bac1d4ccb txn: check MDL when starting and committing pipelined txns (#51794)
ref pingcap/tidb#50215
2024-03-15 05:41:18 +00:00
fcdf565b1a planner: output a SQL warning if binding loading is triggered (#51774)
ref pingcap/tidb#51347
2024-03-15 05:09:47 +00:00
6a76187f2d planner: code prepare for support OR list nested in AND list for mv index (#51780)
ref pingcap/tidb#51778
2024-03-14 17:11:11 +00:00
0ed511a84b planner, stats: reduce the persist memory usage of stats after startup (#47496)
close pingcap/tidb#46867
2024-03-14 14:09:41 +00:00
3da9e0489b txn: Add test case to cover the case that check_txn_status on primary lock of primary txn may affect transaction correctness (#51667)
close pingcap/tidb#51666
2024-03-14 11:41:11 +00:00
c039855869 importinto: limit global sort minimum thread required (#51776)
ref pingcap/tidb#49008
2024-03-14 09:08:18 +00:00
49a937b554 ddl/bdr: support add implicit nullable column and generated column (#51733)
close pingcap/tidb#51719
2024-03-14 06:06:40 +00:00
dbdae85432 importinto, disttask: allow multi import job & adjust total memory for cgroup v2 (#51575)
ref pingcap/tidb#49008
2024-03-14 05:05:09 +00:00
97bb8d8416 txn: produce warnings when fallback from bulk mode (#51697)
ref pingcap/tidb#50215
2024-03-13 10:14:10 +00:00
8f9fbbba58 txn: fix Pipelined DML duplicate entry message (#51708)
ref pingcap/tidb#50215
2024-03-13 07:59:15 +00:00
478ab1f8f6 ddl, tests: make the error message of the default value expression more appropriate. (#51704)
close pingcap/tidb#51703
2024-03-12 13:15:39 +00:00
661f6d61ae json: don't resize slice to get extra zero when the length is unspecified (#51586)
close pingcap/tidb#51547
2024-03-12 10:48:39 +00:00
5745d3df9d ddl: make prefix index compatible with mysql 8.0 when prefix length equal to column length (#48296)
close pingcap/tidb#48295
2024-03-12 10:12:40 +00:00
ccbab5eeb7 *: Enable plan cache for partitioned tables (#49161)
close pingcap/tidb#33031, close pingcap/tidb#45532
2024-03-12 05:38:08 +00:00
897d93db8c *: add super privilege check for some admin commands (#51497)
close pingcap/tidb#51366
2024-03-11 13:35:09 +00:00
f2cbe00ed9 planner: allow the optimizer to cache query plans accessing generated columns by default (#51654)
close pingcap/tidb#45798
2024-03-11 12:24:38 +00:00
2b6318411e executor: fix issue of some insert execution stats was omitted (#51630)
close pingcap/tidb#51629
2024-03-11 09:39:38 +00:00
8b02143e2b disttask: skip scheduler take slots for some states (#51022)
ref pingcap/tidb#49008
2024-03-11 07:29:08 +00:00
7be9a1e89a ddl, test: fix the problem that table creation with auto_increment and default expressions (#51640)
close pingcap/tidb#51587
2024-03-11 04:27:38 +00:00
1e5c179bef ddl, tests: add expression default values feature relevant tests for some DDLs and fix a related bug (#51571)
close pingcap/tidb#51554, close pingcap/tidb#51570
2024-03-11 03:24:38 +00:00
cbe52e6438 txn: introduce pipelined DML (#50389)
ref pingcap/tidb#50215
2024-03-08 10:12:37 +00:00
33d6b79163 ddl: fix partition definition for literal with non-utf8 charsets + binary column (#49229)
close pingcap/tidb#36433, close pingcap/tidb#49251
2024-03-08 04:02:06 +00:00
911bcf16a8 importinto: calculate writer mem size using step resource & add a option for test (#51486)
ref pingcap/tidb#49008
2024-03-07 10:59:06 +00:00