Commit Graph

65 Commits

Author SHA1 Message Date
482ce59bf6 expression: separate BuildContext and EvalContext (#52311)
close pingcap/tidb#52310
2024-04-03 09:42:24 +00:00
b1c0e36cdf *: fix oom in the infoSchema.TableByName (#52220)
close pingcap/tidb#52219
2024-03-29 03:45:49 +00:00
40456f36fe *: make package sqlexec not depend on sessionctx anymore (#52031)
close pingcap/tidb#52029
2024-03-25 11:59:17 +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
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
630651209d planner: output a warning instead of returning an error when creating fast binding on a incomplete hint (#51781)
ref pingcap/tidb#51347
2024-03-14 10:32:11 +00:00
94eb9f527e bindinfo: unite log category (#51713)
ref pingcap/tidb#51347
2024-03-13 07:59:21 +00:00
897d93db8c *: add super privilege check for some admin commands (#51497)
close pingcap/tidb#51366
2024-03-11 13:35:09 +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
f1410bf2a8 planner: seperate methods in PlanContext and EvalContext/BuildContext (#51382)
close pingcap/tidb#51381
2024-02-28 11:03:31 +00:00
e586960027 table: fix issue of get default value from column when column doesn't have default value (#51309)
close pingcap/tidb#50043, close pingcap/tidb#51324
2024-02-28 05:46:59 +00:00
f5072b0096 ddl: add privilege check for admin bdr commands (#51185)
close pingcap/tidb#51183
2024-02-27 10:47:01 +00:00
3d1708f80c telemetry: remove the codes of Telemetry (#51202)
close pingcap/tidb#49939
2024-02-22 11:48:26 +00:00
1ee58bf15b planner: replace context in planbuilder to PlanContext (#51172)
ref pingcap/tidb#51070, close pingcap/tidb#51171
2024-02-21 10:49:57 +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
ee1864460f planner: introduce PlanContext to provide context for planner phase (#51074)
close pingcap/tidb#51070
2024-02-08 10:35:47 +00:00
526d738207 expression: refactor functions to build expressions (#50997)
close pingcap/tidb#50996
2024-02-07 03:05:45 +00:00
9bad2027d5 importinto: support import from stale read (#50852)
ref pingcap/tidb#49883
2024-02-01 11:15:24 +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
6210eddce8 bindinfo: replace record with bind keyword (#50822)
close pingcap/tidb#48875
2024-01-30 11:00:23 +00:00
c1299bbfc5 planner: move more hint code to the hint package (#50756)
ref pingcap/tidb#48875
2024-01-26 12:06:20 +00:00
9416934ea3 *: split planner errors and remove duplicate definitions (#50695)
ref pingcap/tidb#48875
2024-01-26 09:42:21 +00:00
de177d85b1 expression: use buildExprWithAst to implement evalAstExpr (#50660)
ref pingcap/tidb#50463
2024-01-26 04:16:50 +00:00
f94e331475 planner: refactor some internal hint structures (#50720)
ref pingcap/tidb#48875
2024-01-25 08:03:21 +00:00
4abe19251d planner: Correct error message for ALTER INSTANCE (#50700)
close pingcap/tidb#50699
2024-01-24 15:13:50 +00:00
7b48fecc64 planner: increase the upper limit for analyze (#50600)
close pingcap/tidb#50597
2024-01-19 12:37:48 +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
d68acd6da5 bindinfo: refacter the matcher (#50362)
ref pingcap/tidb#48875
2024-01-15 06:21:14 +00:00
0236944eab planner: fix leading hint cannot take effect in UNION ALL statements (#50277)
close pingcap/tidb#50067
2024-01-11 08:11:09 +00:00
e3bd0df35d planner: avoid scanning multi-valued index when there is no condition related (#50183)
close pingcap/tidb#50125
2024-01-11 03:31:55 +00:00
d505704207 Revert "planner: fix leading hint cannot take effect in UNION ALL statements" (#50260)
close pingcap/tidb#50067
2024-01-10 08:32:08 +00:00
c55105e044 planner: fix leading hint cannot take effect in UNION ALL statements (#50145)
close pingcap/tidb#50067
2024-01-10 07:18:24 +00:00
edecaa6841 importinto: import from select parser/planner part (#49976)
ref pingcap/tidb#49883
2024-01-09 05:57:23 +00:00
b4ba24b129 parser: remove universal keyword (#50103)
close pingcap/tidb#50066
2024-01-05 08:17:11 +00:00
45215e0a0d *: remove useless code (#50087) 2024-01-05 07:32:04 +00:00
5fe79401b8 planner: add more test cases for fuzzy binding (#50106)
ref pingcap/tidb#48875
2024-01-05 06:51:40 +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
d11a559ae2 planner: remove useless binding code and add more test cases (#50098)
ref pingcap/tidb#48875
2024-01-05 02:47:03 +00:00
8645716b91 bindinfo: simplify the GlobalBindingHandle interface (#49951)
ref pingcap/tidb#48875
2024-01-03 09:11:02 +00:00
2d7d83d297 planner: re-enable analyze for mv index and code prepare for estimation (#49937)
ref pingcap/tidb#46539
2024-01-02 09:26:01 +00:00
6c479080d9 planner: remove the unnecessary column type from the system table mysql.bind_info (#49841)
ref pingcap/tidb#48875
2023-12-27 11:42:41 +00:00
bca554aa82 planner: unite the variable name (#49759) 2023-12-26 07:28:58 +00:00
eff115612b planner: support creating universal bindings from historical plans (#49765)
ref pingcap/tidb#48875
2023-12-26 02:46:56 +00:00
291875a689 *: support setting txn-entry-size-limit by sys var (#49237)
close pingcap/tidb#49236
2023-12-25 09:43:58 +00:00
ebd259c6a7 planner: move more hint code to a separate package (#49697)
ref pingcap/tidb#48875
2023-12-22 06:18:45 +00:00
3a8b5ac2b0 planner: move more hint code to a separate package (#49673)
ref pingcap/tidb#48875
2023-12-21 10:42:50 +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
d18ee3f68a planner: move hint code to two separate code files (#49597)
ref pingcap/tidb#48875
2023-12-20 07:25:55 +00:00
ad1efe4510 planner: match hints from universal bindings correctly (#49585)
ref pingcap/tidb#48875
2023-12-19 12:07:52 +00:00
323b0f772b *: remove deprecated LOAD DATA actions (#49470)
ref pingcap/tidb#44078
2023-12-15 14:00:21 +00:00