42 Commits

Author SHA1 Message Date
920ee6e011 ddl: forbid operations that might change system table id in nextgen (#65411)
ref pingcap/tidb#61702
2026-01-09 10:52:05 +00:00
b260730a2b planner: use TempDir to fix the flaky test (#65122)
close pingcap/tidb#65121
2025-12-18 14:52:47 +00:00
80f74ede58 stats: set the default analyze column options to all (#64994)
ref pingcap/tidb#64992
2025-12-12 23:58:19 +00:00
5271f751a0 planner: remove code of the deprecated optimizer trace - 5 (#64945)
ref pingcap/tidb#63725
2025-12-12 04:16:26 +00:00
704d4c88f0 server: fix flaky test TestPlanReplayerWithMultiForeignKey (#64942)
close pingcap/tidb#56735
2025-12-10 04:05:47 +00:00
2042309765 planner,executor: fix cannot dump plan replayer when query happen to panic (#64836)
close pingcap/tidb#64835
2025-12-04 12:13:41 +00:00
8bc3ee4d16 executor: loading plan replayer skip bindings for non-existent databases (#64819)
close pingcap/tidb#64816
2025-12-03 14:39:59 +00:00
75b04e23a5 executor: fix plan replayer cannot load bindings (#64802)
close pingcap/tidb#64811
2025-12-02 10:01:23 +00:00
3acae2d607 server: use TempDir for plan replayer's UT (#64457)
close pingcap/tidb#62441
2025-11-13 06:00:50 +00:00
03e9041f69 serverinfo: abstract syncer out of infosync (#62640)
ref pingcap/tidb#61702
2025-07-28 07:20:48 +00:00
e7c62acd93 domain, server: fix dump plan replayer panic (#61404)
close pingcap/tidb#43623, close pingcap/tidb#59170
2025-05-29 13:36:44 +00:00
1f32c8e005 domain: fix the issue where defining FKs in a circular manner causes an infinite loop (#60987)
close pingcap/tidb#60985
2025-05-07 09:07:37 +00:00
cf4d252af8 *: split definition out of variable pkg and refactor some reorg methods (#59146)
ref pingcap/tidb#57229, ref pingcap/tidb#57497
2025-01-23 09:24:44 +00:00
b2f2faaa95 parser: move 'model' to 'ast' pkg (#58704)
ref pingcap/tidb#54436
2025-01-07 10:20:04 +00:00
64dd762fde planner: Fix load stats failure when stats file contains with null (#57818)
close pingcap/tidb#53966
2024-12-31 10:18:33 +00:00
27b53925b2 *: use DDL subscriber updating stats meta (#57872)
close pingcap/tidb#57871
2024-12-13 10:44:06 +00:00
da965d144c statistics: move JSON* to statistics/util (#57950)
ref pingcap/tidb#57949
2024-12-04 18:30:23 +00:00
cfa52d0e8f statistics: add a priority queue API (#57385)
close pingcap/tidb#55063
2024-11-19 06:58:14 +00:00
66cb4252a8 statistics: fix bad lower bound and upper bound when to dump stats into json (#57314)
close pingcap/tidb#56083
2024-11-13 11:51:02 +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
b759f3306c server: replace session in statsHistoryHandler with types.Context (#56783)
close pingcap/tidb#56782
2024-10-23 11:02:14 +00:00
f37210f6ba executor: fix plan replay cannot deal with placement mode (#56774)
close pingcap/tidb#54961
2024-10-22 10:33:30 +00:00
827b533856 server: fix flaky test by using t.TempDir (#56737)
close pingcap/tidb#56735
2024-10-21 16:50:23 +00:00
53a4c3eded planner: play replay load restore the table with foreign key with right order. (#56457)
close pingcap/tidb#56456
2024-10-16 08:21:53 +00:00
1eb0c8c123 domain: fix play replay dump cannot save the table in the foreign key's reference (#56512)
close pingcap/tidb#56458
2024-10-09 13:38:43 +00:00
3176b9c263 *: move XXInfo/Job, etc, out from model pkg in parser to meta (#55754)
ref pingcap/tidb#54436
2024-09-04 04:49:45 +00:00
37087225f5 ddl/domain: disallow set schema lease to 0 (#55312)
ref pingcap/tidb#54436
2024-08-12 04:03:08 +00:00
06e0e17d98 *: fix ctrl+c can not kill tidb during statistics init (#54594)
close pingcap/tidb#54589
2024-07-15 09:26:59 +00:00
e5a8a23e83 *: enable the predicate columns feature by default (#54440)
ref pingcap/tidb#53567
2024-07-12 09:23:28 +00:00
f490a98438 *: add context.Context parameter to infoschema TableByName (#54479)
ref pingcap/tidb#50959
2024-07-09 16:04:33 +00:00
81a7cf5548 variable: disable tidb_enable_historical_stats by default (#53046)
close pingcap/tidb#53048
2024-05-07 11:11:39 +00:00
caf83ed930 statistics: add last_analyze_version for mysql.stats_meta (#51489)
ref pingcap/tidb#49594
2024-03-11 08:06:38 +00:00
7f8d3944f5 server: start to listen after init stats complete (#51472)
close pingcap/tidb#51473
2024-03-05 09:15:34 +00:00
b7ce239330 *: force_init_stats doesn't block http api's startup (#50853)
close pingcap/tidb#50854
2024-02-02 08:25:56 +00:00
c76fe3ff97 plan replayer: fix cannot load bindings when the statement contains in (...) (#50762)
close pingcap/tidb#43192
2024-01-31 13:54:25 +00:00
51e1e13494 *: update interface{} to any (#50770)
ref pingcap/tidb#50765
2024-01-29 07:21:29 +00:00
a7ef915052 *: upgrade rules_go (#49693) 2023-12-27 02:15:28 +00:00
4eada20dcc *: add unnecessary untracked files to .gitignore and clean up them (#49314)
close pingcap/tidb#49070
2023-12-11 07:22:54 +00:00
db2e239496 types: remove param explicitTz from types.ParseTime (#48574)
close pingcap/tidb#48573
2023-11-15 08:08:17 +00:00
6d64b7e89a types, stmtctx, *: use ZeroDate, ZeroInDate and InvalidDate related flags to replace variable in statement context (#47794)
close pingcap/tidb#47507, close pingcap/tidb#47508
2023-10-27 10:44:05 +00:00
aebf22d22e planner: move more methods from StatsHandle to its sub-packages (#47696)
ref pingcap/tidb#46905
2023-10-17 13:52:59 +00:00
318e82bbb7 *: move most of the packages to 'pkg' (#47123)
ref pingcap/tidb#41241
2023-10-13 14:36:26 +00:00