Commit Graph

31 Commits

Author SHA1 Message Date
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
4c23efb10b *: move annotated attributes of AST node to resolve.Context (#55634)
ref pingcap/tidb#54436
2024-08-29 13:39:01 +00:00
d383367ead planner: add new variables for instance plan cache (#55193)
ref pingcap/tidb#54057
2024-08-06 02:51:39 +00:00
f5ac1c4a45 *: support tidb_redact_log for explain (#54553)
close pingcap/tidb#54565
2024-07-23 08:45:04 +00:00
e1626a9c5b planner: fix the issue of reusing wrong point-plan for "select ... for update" (#54661)
close pingcap/tidb#54652
2024-07-17 03:17:59 +00:00
7a0611ff35 planner: consider using instance level plan cache (#54472)
ref pingcap/tidb#54057
2024-07-05 15:42:01 +00:00
482ccd6b6d planner: refactor a few code of plan cache (#54362)
ref pingcap/tidb#54057
2024-07-01 15:29:56 +00:00
08b7ac6218 planner: fix the issue that cannot find column if using question marker in group-by-clause (#54205)
close pingcap/tidb#53872
2024-06-26 05:14:52 +00:00
d860287a2b expression: fix the wrong behavior of conv function (#53681)
close pingcap/tidb#53505
2024-05-30 09:58:21 +00:00
3485857563 ranger: handle float/integers overflow properly (#53501)
close pingcap/tidb#46538
2024-05-23 11:28:18 +00:00
fe5858b00c ranger: handle longlong overflow properly (#52365)
close pingcap/tidb#45783
2024-05-23 01:40:17 +00:00
50b8dfab22 planner: simplify plan cache for fast point get (#53094)
ref pingcap/tidb#50618
2024-05-08 10:04:08 +00:00
5798dc64f6 Revert "planner: merge fast plan cache and normal plan cache" (#53084)
ref pingcap/tidb#50618
2024-05-07 12:49:08 +00:00
b421b729c8 planner: merge fast plan cache and normal plan cache (#53033)
ref pingcap/tidb#50618
2024-05-06 12:19:10 +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
ccbab5eeb7 *: Enable plan cache for partitioned tables (#49161)
close pingcap/tidb#33031, close pingcap/tidb#45532
2024-03-12 05:38:08 +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
54cca35e62 planner: choose to generate optimal plans without plan cache rather than generating suboptimal plans and caching it when generating MVIndex plans (#51546)
ref pingcap/tidb#45798
2024-03-07 11:51:35 +00:00
42efa55a69 planner: add more test cases for plan cache with generated columns (#51510)
ref pingcap/tidb#45798
2024-03-05 10:23:13 +00:00
5ac8a5b463 planner: add more test cases for plan cache with generated columns (#51483)
ref pingcap/tidb#45798
2024-03-04 11:20:05 +00:00
51e1e13494 *: update interface{} to any (#50770)
ref pingcap/tidb#50765
2024-01-29 07:21:29 +00:00
9b4cf39b7a planner: show the reason why cannot hit plan cache for EXECUTE statements (#50505)
close pingcap/tidb#50407
2024-01-17 17:27:16 +00:00
6be00181f7 planner: enhance fix control 49736 (#50405)
ref pingcap/tidb#49736
2024-01-15 03:20:48 +00:00
c3346856e6 planner: avoid repeat normalization on the same query when matching binding for plan cache (#50133)
ref pingcap/tidb#48875
2024-01-05 09:58:51 +00:00
a8a7525456 planner: introduce a new fix-control variable to lift all plan cache restrictions for testing (#49754)
close pingcap/tidb#49736
2023-12-25 11:42:26 +00:00
45b4e4a9ed planner: check whether plan-cache is disabled each time when getting plan from the plan cache (#49373)
close pingcap/tidb#49344
2023-12-12 11:06:33 +00:00
077a3e96cb tests: Update mysql-tester, move tests related with RowsAffected and LastMessage (#48789)
ref pingcap/tidb#45961
2023-11-23 04:11:49 +00:00
184aa7e3c3 planner: fix the issue that plan cache may return wrong result when comparing datetime column with unix_timestamp (#48413)
close pingcap/tidb#48165
2023-11-08 16:41:12 +00:00
0d9a4ce8b8 *: update linter (#48252)
ref pingcap/tidb#40786
2023-11-06 07:18:41 +00:00
a51ea16fb7 planner: introduce a new fix-control flag to control whether to cache plans that access generated columns (#48011)
ref pingcap/tidb#45798
2023-10-26 16:02:04 +00:00
318e82bbb7 *: move most of the packages to 'pkg' (#47123)
ref pingcap/tidb#41241
2023-10-13 14:36:26 +00:00