Commit Graph

818 Commits

Author SHA1 Message Date
b427e33eb9 meta: separate reader and mutator (#56376)
ref pingcap/tidb#54436
2024-09-27 15:34:11 +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
bad2ecd6b0 ddl: refine some context usage (#56243)
ref pingcap/tidb#54436, ref pingcap/tidb#56017
2024-09-27 12:03:24 +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
448d56910c lightning: fix forget to set lastRetryableErr when ingest RPC fail (#56345)
close pingcap/tidb#55808
2024-09-26 12:13:28 +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
7c88876a7f br: add log backup/restore encryption support (#55757)
close pingcap/tidb#55834
2024-09-26 02:31:09 +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
8c132db419 executor: push down LIKE patterns for some infoschema readers (#55844)
ref pingcap/tidb#50305
2024-09-23 11:45:33 +00:00
5ead7e9a48 *: Remove tidb-binlog related code (#56183)
ref pingcap/tidb#55949
2024-09-20 11:13:23 +00:00
801e55528f expresssion: fix div result type infer bug if a integer type has minimum display length (#56158)
close pingcap/tidb#55837
2024-09-20 06:37:54 +00:00
67bee7c513 * : Remove binlog related codes (#55955)
close pingcap/tidb#55949
2024-09-20 04:11:57 +00:00
66d8cdc3d0 executor: Add Global to SHOW INDEX output (#56028)
ref pingcap/tidb#55452
2024-09-19 21:04:31 +00:00
fd6d5c1cd0 ddl: move partition sql string rewrite out of buildTablePartitionInfo (#56120)
close pingcap/tidb#56119
2024-09-18 10:55:18 +00:00
ae86e046b6 importinto: fix panic when import to a temporary table, disallow import to cached table (#55983)
close pingcap/tidb#55970
2024-09-14 08:49:00 +00:00
b3914c5d86 expression: fix expression return wrong current time when using StaticEvalContext (#56059)
close pingcap/tidb#56051, close pingcap/tidb#56054
2024-09-14 03:26:57 +00:00
76098f5e16 importinto: check column assignment expressions in import into ... (#55968)
close pingcap/tidb#55497
2024-09-10 17:40:45 +00:00
tpp
d2656d2e9d planner: preference range scan for pseudo (#55633)
close pingcap/tidb#55632
2024-09-10 16:56:26 +00:00
e0864c6cf1 expression: let cast function supports explicit set charset (#55724)
close pingcap/tidb#55677
2024-09-10 10:25:23 +00:00
dd1808364a planner: fix incorrect estRows with global index and json column (#55842)
close pingcap/tidb#55818
2024-09-06 12:08:39 +00:00
5dae1a3135 expression: support tidb encode key function (#51678)
close pingcap/tidb#51683
2024-09-06 07:03:37 +00:00
c011164834 planner: fix incorrect maintenance of handleColHelper for recursive CTE (#55732)
close pingcap/tidb#55666
2024-09-06 04:31:49 +00:00
c403cd555d ddl/ingest: set minCommitTS when detect remote duplicate keys (#55588)
close pingcap/tidb#55587
2024-09-05 15:28:18 +00:00
fef43c5639 *: Add tidbCPU/tikvCPU into system tables (#55455)
close pingcap/tidb#55542
2024-09-05 07:42:28 +00:00
91aabeae7e integration_test: update mysql-tester (#55860) 2024-09-05 02:36:01 +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
ris
649dce7c2d br: fix duplicated table check would block incremental restore (#55688)
close pingcap/tidb#55562
2024-09-03 12:28:27 +00:00
081616689d infoschema: fix sub_part in information_schema.statistics table (#55814)
close pingcap/tidb#55812
2024-09-03 09:08:11 +00:00
dd180de7ae infoschema: optimize 'select count(*) from information_schema.tables' for v2 (#55574)
close pingcap/tidb#55515
2024-09-03 08:25:00 +00:00
81cc3455c7 importinto: return error for reading user variables and using some functions (#55744)
ref pingcap/tidb#55497
2024-08-30 04:12:01 +00:00
fa533f8251 importinto: explicitly return error for SET subquery (#55495)
ref pingcap/tidb#55497
2024-08-29 10:10:45 +00:00
87244edabf statistics: fix sync load fails after disabling lite init stats (#54531)
close pingcap/tidb#54532
2024-08-27 13:21:16 +00:00
94666a27ce infoschema_v2: remove schemaTableInfos for foreign key (#55624)
close pingcap/tidb#55623
2024-08-27 10:12:17 +00:00
861607f62f test: turn on -with-real-tikv inside realtikvtest.RunTestMain (#55690)
ref pingcap/tidb#55529
2024-08-27 09:13:47 +00:00
48989e726f *: Vector Data types and Functions (#55550)
ref pingcap/tidb#54245
2024-08-22 07:01:51 +00:00
d04ec9d914 planner: fix CTE hang or wrong result when multiple Apply is used (#55553)
close pingcap/tidb#55551
2024-08-22 05:15:19 +00:00
9690dab339 expression: Support 2 argument version of MID() (#55541)
close pingcap/tidb#52420
2024-08-22 02:54:13 +00:00
ae9e196dae workerpool: add TaskMayPanic interface to remind caller handles panic (#55537)
ref pingcap/tidb#55497
2024-08-21 07:27:12 +00:00
tpp
f2c278ddc6 Planner: Do not allow cardinality to go below 1 (#55242)
close pingcap/tidb#47400
2024-08-20 12:00:12 +00:00