Commit Graph

214 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
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
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
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
bdc64e572b *: Revert "add super privilege check for some admin commands (#51497)" (#51938)
close pingcap/tidb#51936
2024-03-20 08:32:34 +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
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
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
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
49a937b554 ddl/bdr: support add implicit nullable column and generated column (#51733)
close pingcap/tidb#51719
2024-03-14 06:06:40 +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
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
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
6ec70f17b5 bootstrap: Modify column sizes in constant.go and bootstrap.go (#51457)
close pingcap/tidb#51445
2024-03-07 04:41:05 +00:00
61b66aa837 planner: make index merge union case aware of order property (#49632)
close pingcap/tidb#48359
2024-03-05 12:41:04 +00:00
7c48d3bd19 *: move related(default value expression) tests in db_integration_test to tests/integrationtest/r/ddl (#51504)
close pingcap/tidb#51503
2024-03-05 12:08:05 +00:00
61927172bf *: add expression default values feature relevant tests and fix the "extra" field issue. (#51482)
close pingcap/tidb#51462, close pingcap/tidb#51481
2024-03-05 08:08:12 +00:00
c1befbba61 executor: fix BatchPoint leads to tidb panic when KeyPartition column is part of multi-column index (#51315)
close pingcap/tidb#51313
2024-03-04 12:53:04 +00:00
78a07b2bf8 planner: enable FixControl44262 by default if we have tidb_skip_missng_partition_stats (#51405)
ref pingcap/tidb#44262
2024-02-29 05:38:02 +00:00
27ce02afd2 planner: remove the limitation that predicates can't be pushed through Projection on TableDual (#51329)
close pingcap/tidb#50614
2024-02-28 12:33:31 +00:00
961159c12f util/ranger: do not convert to binary collate for string values when convertToSortKey is false (#51363)
close pingcap/tidb#51316
2024-02-27 11:57:30 +00:00
f5072b0096 ddl: add privilege check for admin bdr commands (#51185)
close pingcap/tidb#51183
2024-02-27 10:47:01 +00:00
0df9170791 planner/infoschema: support push down lower to some memtables (#50874)
ref pingcap/tidb#50305
2024-02-27 07:26:01 +00:00
6af4bbaabb planner, executor: enhance the index join's choice (#51128)
close pingcap/tidb#47233
2024-02-26 10:30:37 +00:00
2c46b8e004 executor: avoid prealloc too big slice for indexMerge (#51284)
close pingcap/tidb#51188
2024-02-23 10:51:27 +00:00
58e5284b3f planner,executor: fix join resolveIndex won't find its column from children schema & amend join's lused and rused logic for reversed column ref from join schema to its children (#51203)
close pingcap/tidb#42588
2024-02-23 02:52:58 +00:00
72517a9915 planner: allow read from TiKV for sys schema when tidb_isolation_read_engines is set to tiflash (#51219)
close pingcap/tidb#51218
2024-02-21 08:45:33 +00:00
11f716e206 bootstrap, br: add sys.schema_unused_indexes view (#50887)
close pingcap/tidb#50886
2024-02-21 05:22:57 +00:00
400bb2c3d7 ddl: forbid create Generated column with Grouping function (#49930)
close pingcap/tidb#49909
2024-02-10 04:56:46 +00:00
7805b9249a ddl: support create key partition with empty column (#51049)
close pingcap/tidb#51004
2024-02-08 09:20:46 +00:00
tpp
bbfea62623 planner: Correct cardinality estimate for subset index match (#50574)
close pingcap/tidb#50573
2024-02-06 16:16:15 +00:00
f0a26dd2a3 expression: Fix the issue that cast str as datetime with time_zone results in loss of precision (#50958)
close pingcap/tidb#49555
2024-02-06 03:44:44 +00:00
5c8b559854 ddl: table meta should store column without db and table name (#50978)
close pingcap/tidb#50972
2024-02-05 08:34:13 +00:00
aa00ae2217 expression: fix reverse function on bit type column (#50146)
close pingcap/tidb#49566, close pingcap/tidb#50850, close pingcap/tidb#50855
2024-02-05 04:44:43 +00:00
402c52eedb executor: Support spill of parallel hash aggregate (#49074)
ref pingcap/tidb#47733
2024-02-04 10:23:42 +00:00