Commit Graph

408 Commits

Author SHA1 Message Date
tpp
34ef14a1bb planner: fix cost adjustment for high risk tablescan (#57086)
close pingcap/tidb#57085
2024-11-06 04:42:25 +00:00
68f9355bae tablecodec: fix global index + commonHandle + restoredValues panic (#57104)
close pingcap/tidb#57087
2024-11-05 04:00:21 +00:00
5448f9f11d ddl: check index key length when convert charset (#56964)
close pingcap/tidb#56930
2024-11-01 05:43:51 +00:00
2f8b11a4d1 parser: don't support ALTER TABLE ... DROP FOREIGN KEY if exists (#56703)
close pingcap/tidb#56701
2024-10-31 06:00:57 +00:00
fc116a7f01 ddl: Allow global Index including all columns in the partitioning expression (#56868)
close pingcap/tidb#56230
2024-10-30 10:12:12 +00:00
ec65c4fd71 test: fix the flaky integration test for foreign key. (#56979)
close pingcap/tidb#56978
2024-10-30 07:51:07 +00:00
tpp
8fde2d6fa2 planner: set min for high risk plan steps (#56631)
close pingcap/tidb#55126
2024-10-29 18:08:36 +00:00
1c386db025 util/collate, util/ranger: move and update IsPadSpaceCollation() (#56970) 2024-10-29 14:41:04 +00:00
cc370993fe cardinality: remove the unnecessary limitation that the "exponential backoff" entry stats can't use iteself for estimation (#56850)
close pingcap/tidb#56915
2024-10-28 18:47:31 +00:00
e6459b3366 ddl: support dropping multiple foreign keys (#56702)
close pingcap/tidb#28421
2024-10-28 16:28:19 +00:00
2de388bebc executor: ignore foreign key error in UPDATE/INSERT/DELETE ignore (#56682)
close pingcap/tidb#39712, close pingcap/tidb#56678, close pingcap/tidb#56681
2024-10-28 09:31:24 +00:00
71238b11a6 ddl: skip adding index reorg work for empty tables (#56406)
close pingcap/tidb#51421, close pingcap/tidb#54230
2024-10-25 11:39:25 +00:00
e68be74043 ddl: fix some limitation of primary key + global index (#56808)
close pingcap/tidb#56804
2024-10-25 10:20:00 +00:00
3f0514eb6b planner, table: list partition support prune non point range (#56725)
close pingcap/tidb#56673
2024-10-25 06:59:32 +00:00
64ecfa1156 executor: enable hash join v2 by default for tests (#56790)
ref pingcap/tidb#53127
2024-10-23 03:00:39 +00:00
tpp
abf7e31bf8 planner: enable fix control for enforced (#56414)
close pingcap/tidb#46177
2024-10-22 18:16:06 +00:00
42751959a3 config: Make deprecate-integer-display-length default to true (#56529)
close pingcap/tidb#17682, close pingcap/tidb#56533
2024-10-22 09:09:53 +00:00
eebdcfebd5 planner, stats: overflow estimation may lead to wrong join reorder (#56752)
close pingcap/tidb#56704
2024-10-22 04:26:14 +00:00
d011ecd7e5 expression: fix errors set utc_timestamp precision (#56453)
close pingcap/tidb#56451
2024-10-22 04:26:00 +00:00
d34724f476 executor: support hash join spill (#55950)
close pingcap/tidb#55153
2024-10-22 03:27:44 +00:00
d5b27a91ce *: make default_authentication_plugin more compatible with mysql (#56660)
close pingcap/tidb#54138
2024-10-21 10:31:51 +00:00
64ef4ddb04 tests: move one strange flaky test back to unit test (#56729) 2024-10-19 02:13:56 +00:00
55b3e37c7c Makefile: add gotag for make server_check (#51057) 2024-10-18 13:42:57 +00:00
602f980c55 ddl: fix prepare stmt with partition related ddl stmts (#54493)
close pingcap/tidb#54283
2024-10-17 16:44:50 +00:00
3df0f2e927 sessionctx: Deprecate static prune mode (#56543)
ref pingcap/tidb#56490
2024-10-16 02:07:47 +00:00
fa723c3bd5 planner, CTE, view: Fix default inline CTE which contains orderby/limit/distinct and inside of view (#56609)
close pingcap/tidb#56582, close pingcap/tidb#56603
2024-10-15 11:02:28 +00:00
e017e1bc4c expression: use maximum length for integer display (#56463)
close pingcap/tidb#45338, close pingcap/tidb#56462
2024-10-14 12:54:49 +00:00
10647c9d73 statstics: avoid unnecessary try when to sync load (#56614)
close pingcap/tidb#56472
2024-10-14 08:55:34 +00:00
0eccf7957b planner: merge FullSchema and FullNames of subplans when rewriting "in (subquery)" to inner join (#54334)
close pingcap/tidb#53766
2024-10-10 07:16:40 +00:00
1e24d39608 *: Drop partition DDL handling for overlapping partitions during State Changes (#56082)
close pingcap/tidb#55888
2024-10-09 17:15:33 +00:00
31d75bd945 planner: fix inner subq build process will ref-use outer's expand meta (#56424)
close pingcap/tidb#56218
2024-10-09 10:36:24 +00:00
698f54f45a expression: remove unnecessary warnings for AND/OR expressions (#56482)
close pingcap/tidb#56481
2024-10-09 06:12:28 +00:00
0ab49bec14 executor: fix set names with default_collation_for_utf8mb4 vars (#56469)
close pingcap/tidb#56439
2024-10-08 10:46:56 +00:00
9d2227d5ca *: remove portgenerator to cleanup codes (#56465) 2024-10-08 04:41:16 +00:00
fbcb35cd3d expression: handle invalid date time properly (#56461)
close pingcap/tidb#56460
2024-10-08 02:08:07 +00:00
828b461c3c planner: make pattern match case-insensitive for some infoschema tables (#56378)
close pingcap/tidb#56377
2024-09-27 12:56:57 +00:00
tpp
a3a451196d planner: increase tablescan cost for high risk scenarios (#56203)
close pingcap/tidb#56012
2024-09-26 13:04:27 +00:00
f399e91cf8 expression: Fix warnings for FORMAT() in CTE (#56198)
close pingcap/tidb#56193
2024-09-26 10:57:15 +00:00
01797cb3ae expression: pushdown add_date/sub_date expressions to tikv (#56298)
close pingcap/tidb#56297
2024-09-26 07:40:27 +00:00
cabedbc9f8 ddl: Also check column types in ALTER TABLE t PARTITION BY ... (#56197)
close pingcap/tidb#56094
2024-09-25 22:21:38 +00:00
84016f9f9a planner: support to prune column for simple table's DELETE (#56077)
ref pingcap/tidb#38911
2024-09-25 19:48:28 +00:00
3cb22d6a8a Optimizer : Add OR pruning to predicate simplification (#56136)
close pingcap/tidb#56005
2024-09-25 18:41:12 +00:00
e5c98671a4 ddl: support scatter region in cluster/global level (#56157)
ref tikv/pd#8424, ref pingcap/tidb#54886, close pingcap/tidb#55184
2024-09-25 15:25:29 +00:00
9129323378 *: Deprecate tidb_enable_table_partition and always set to ON (#56190)
close pingcap/tidb#56189
2024-09-25 12:29:34 +00:00
75d9830bd2 *: AnalyzeV2 supports processing special global indexes (#56115)
close pingcap/tidb#54233
2024-09-25 06:34:50 +00:00
2ef0a36f71 *: Removed tidb_enable_list_partition (#42846)
close pingcap/tidb#42842
2024-09-25 00:24:19 +00:00
0442c68e1c *: Deprecated and always set to ON tidb_enable_global_index (#56169)
ref pingcap/tidb#45133
2024-09-24 22:59:43 +00:00
53a3d20a3c planner, sctx: open enhanced index join pattern by default (#56172)
ref pingcap/tidb#47233
2024-09-24 16:55:45 +00:00
ad68216538 executor: Add session variable for hash join v2 (#56023)
ref pingcap/tidb#53127
2024-09-24 00:10:45 +00:00
fd41e605f7 planner, util/ranger: recognize the best matching index stats more accurately for OR list in Selectivity() (#56001)
close pingcap/tidb#54323
2024-09-23 17:29:07 +00:00