Commit Graph

72 Commits

Author SHA1 Message Date
62d6f4737b planner: move fields from ast.Prepared to planner.PlanCacheStmt (#52373)
ref pingcap/tidb#51407
2024-04-07 08:30:20 +00:00
3ba874c77f statistics: fix wrong singleflight implementation for stats' syncload (#52301)
close pingcap/tidb#52294
2024-04-03 10:16:55 +00:00
0e9e71262d ddl: fix rollback reorganize partition left intermediate state (#51631)
close pingcap/tidb#51090
2024-03-29 07:41:19 +00:00
5fd22197f5 parser,planner: move some code into AST member function (#51979) 2024-03-21 07:56:14 +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
b609fa6d27 *: fix SURVIVAL_PREFERENCES is not shown in SHOW CREATE PLACEMENT POLICY (#51732)
close pingcap/tidb#51699
2024-03-13 19:18:39 +00:00
xhe
9efa659dc5 *: remove old enableredactlog (#51718)
close pingcap/tidb#51717
2024-03-13 03:38:09 +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
xhe
611dc83af6 *: migrate to the new parser redact function (#51590)
close pingcap/tidb#51588
2024-03-08 08:59:07 +00:00
60aa838790 parser, server: unify writeData and writeError functions (#51402)
close pingcap/tidb#51408
2024-03-01 05:00:32 +00:00
64d824acd8 ddl: add sql-mode field in ddl job to make ticdc parse correctly (#51321)
close pingcap/tidb#51368
2024-02-28 10:02:01 +00:00
a59551b701 ddl: rename tidb_ddl_version to tidb_enable_fast_create_table (#51047)
close pingcap/tidb#50052
2024-02-28 08:39:31 +00:00
707b0a4e38 parser: support (Row(..),Row(..))=>(..) in the binding mode (#51319)
close pingcap/tidb#51222
2024-02-27 09:05:02 +00:00
3c3ba00cb4 ddl: data type default values support STR_TO_DATE('1980-01-01','%Y-%m-%d') (#51278)
close pingcap/tidb#51276
2024-02-27 04:36:30 +00:00
b9e98abca0 parser, ddl: data type default values support DATE_FORMAT(NOW(),'%Y-%m...') (#51076)
close pingcap/tidb#51031
2024-02-26 11:05:08 +00:00
3d1708f80c telemetry: remove the codes of Telemetry (#51202)
close pingcap/tidb#49939
2024-02-22 11:48:26 +00:00
feba462607 parser, ddl: data type default values support UPPER(SUBSTRING_INDEX(user(),'@',1)) (#50992)
close pingcap/tidb#50966, close pingcap/tidb#51200
2024-02-22 04:21:27 +00:00
11f716e206 bootstrap, br: add sys.schema_unused_indexes view (#50887)
close pingcap/tidb#50886
2024-02-21 05:22:57 +00:00
464a12651b build(deps): bump github.com/golangci/golangci-lint from 1.55.2 to 1.56.1 (#51089) 2024-02-18 06:57:01 +00:00
a29bbb5ca1 parser,ddl: data type default values support REPLACE(UPPER(uuid()), '-', '') (#50963)
close pingcap/tidb#50937
2024-02-09 02:53:45 +00:00
7805b9249a ddl: support create key partition with empty column (#51049)
close pingcap/tidb#51004
2024-02-08 09:20:46 +00:00
243763394b parser: add LOW_PRIORITY for LOAD DATA (#51023)
ref pingcap/tidb#49602
2024-02-08 03:52:15 +00:00
fe31308c53 parser: update to go1.19 (#51032)
close pingcap/tidb#50765
2024-02-07 06:04:15 +00:00
f5e0799dd7 *: store db ID in model.TableInfo and move SchemaByTable method out from InfoSchema (#50917)
ref pingcap/tidb#50959
2024-02-07 05:07:15 +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
bf44d24e00 parser: generate no stack warning for ErrWarnOptimizerHintUnsupportedHint (#50655)
close pingcap/tidb#49291
2024-01-23 10:58:50 +00:00
8e1f5e4ad8 parser: Update TestCompareReservedWordsWithMySQL (#48857)
close pingcap/tidb#48856
2024-01-22 21:58:50 +00:00
5a2c79b4d8 parser: restore set_var value to string instead of plain text (#50515)
close pingcap/tidb#50507
2024-01-18 03:52:46 +00:00
07fded43d4 parser: add support for the SHOW {REPLICA | SLAVE} STATUS stmt. (#50404)
close pingcap/tidb#50403
2024-01-16 09:55:52 +00:00
428905373b parser: raise error for empty db name (#49521)
close pingcap/tidb#45873
2024-01-09 08:10:53 +00:00
edecaa6841 importinto: import from select parser/planner part (#49976)
ref pingcap/tidb#49883
2024-01-09 05:57:23 +00:00
6701bf1527 ddl: create table accelerate (#49687)
close pingcap/tidb#50052
2024-01-08 12:20:08 +00:00
b4ba24b129 parser: remove universal keyword (#50103)
close pingcap/tidb#50066
2024-01-05 08:17:11 +00:00
f5cb034baa ddl: support fine-grained modify column and add column (#50039)
close pingcap/tidb#48519
2024-01-05 05:47:03 +00:00
494d9f0769 parser: support hints in 'REPLACE INTO' statement (#50007)
close pingcap/tidb#34325
2024-01-04 04:47:03 +00:00
5f79a7c89d parser: support using '*' as DB name when creating binding (#49969)
ref pingcap/tidb#48875
2024-01-02 08:14:01 +00:00
d6aeaf043f parser: fix limit lost in SetOprStmt (#49898)
close pingcap/tidb#49874
2023-12-29 10:05:05 +00:00
60d6286fa3 ddl: support bdr bwlist (#48776)
ref pingcap/tidb#48519
2023-12-28 08:04:58 +00:00
a7ef915052 *: upgrade rules_go (#49693) 2023-12-27 02:15:28 +00:00
2dfbaa8264 ddl: set jobs dependency by schema and table name (#49699)
close pingcap/tidb#49498
2023-12-26 06:43:58 +00:00
f1ff450051 parser: truncate keywords.go when re-creating it (#49634)
ref pingcap/tidb#48801
2023-12-21 10:42:30 +00:00
76a2f0ddb9 parser: add support [NO_WRITE_TO_BINLOG | LOCAL] syntax in the ANALYZE statement (#49482)
close pingcap/tidb#49235
2023-12-21 07:31:54 +00:00
c06f54c698 parser: fix invalid hint addition disable other valid hints (#49441)
close pingcap/tidb#49308
2023-12-20 08:19:53 +00:00
7d33d0d226 parser: ignore schema name if WithoutSchemaNameFlag is set when restoring hints (#49587)
ref pingcap/tidb#48875
2023-12-19 13:55:52 +00:00
323b0f772b *: remove deprecated LOAD DATA actions (#49470)
ref pingcap/tidb#44078
2023-12-15 14:00:21 +00:00
423834132d parser, planner: fix embedded setOprStmt will be seen as SetOprSelectList item and lost its orderBy and Limit (#49421)
close pingcap/tidb#49377
2023-12-15 08:40:50 +00:00
918df0ae50 *: speed up create table when the number of tables is relatively large (#49371)
close pingcap/tidb#49370
2023-12-14 03:58:49 +00:00
49f89a98af parser: support universal binding create statements (#49361)
ref pingcap/tidb#48875
2023-12-12 08:16:48 +00:00
a3e2ddb586 *: Keep the auto id allocator for single table renames (#47892)
close pingcap/tidb#46904
2023-12-08 09:45:19 +00:00
d9b43dfcb1 parser: support OPTIMIZE statement (#49205)
close pingcap/tidb#49204
2023-12-07 13:43:21 +00:00