Commit Graph

28 Commits

Author SHA1 Message Date
aa51b46ead executor: fix concurrent use of testkit in tests and add nil check (#40627)
close pingcap/tidb#40206
2023-01-16 22:29:49 +08:00
c19adffe7a executor: fix issue of execute prepared DML panic with foreign key cascade (#39734)
close pingcap/tidb#39732
2022-12-09 12:06:04 +08:00
63ce7931b0 *: add foreign key check/cascade runtime stats information in explain analyze result (#39203)
close pingcap/tidb#39202
2022-11-30 20:00:01 +08:00
1e6d1a832b *: add foreign key check/cascade information in explain result (#39167)
close pingcap/tidb#39166
2022-11-22 17:31:57 +08:00
5fa9da1bf7 planner: make the meaning of displayed estimated row count consistent with actual row count (#38188)
close pingcap/tidb#38187
2022-10-17 18:45:53 +08:00
b70207d849 planner/core, util/plancodec: fix wrongly encoded plan which might cause panic (#36611)
close pingcap/tidb#36609
2022-07-27 19:35:11 +08:00
7953d60c1b *: switch to flat plan in stmt summary, slow log, etc (#36069)
ref pingcap/tidb#35888
2022-07-14 17:37:06 +08:00
28bf364f1b planner: introduce flat plan (#35994)
ref pingcap/tidb#35888, ref pingcap/tidb#35889
2022-07-09 13:55:02 +08:00
xhe
94e30df8e2 parser: fix compiling, add unit tests (#28700) 2021-10-11 23:15:25 +08:00
7755d25aba *: Integrate SkyWalking-eyes to check license headers in CI and fix licenses headers (#27198) 2021-08-16 18:52:00 +08:00
8b5fb11385 planner,util: optimize encode plan performance by avoid fmt.Sprintf/Fprintf (#26146) 2021-07-19 16:05:34 +08:00
cb06e116c1 *: update the golangci-lint and fix all lint errors (#25912) 2021-07-05 13:43:27 +08:00
f837bc770d planner: reset recorded cte plan in plan encoder (#25175) 2021-06-05 14:02:27 +08:00
a80047c604 CTE: support explain CTE plan (#24986) 2021-05-31 19:03:36 +08:00
2580240dde *: pass sql, plan digest down to KV request (#24854) 2021-05-25 15:47:33 +08:00
41f5441fd6 planner: fix err check (#22997) 2021-04-12 19:23:50 +08:00
d1297376f1 planner: Fix problem that MPP query cannot work with STATEMENT_SUMMARY properly (#23229) 2021-03-10 20:24:55 +08:00
abc8f1665f *: optimize for encoding huge plan (#20811) 2020-11-06 10:46:16 +08:00
17b7b5e815 *: add executor runtime info for explain for connection statement (#19183) 2020-09-27 20:44:11 +08:00
ac844a7162 planner: fix bug of plan digest is same when cop task store is different (#20054) 2020-09-17 19:55:28 +08:00
1cab3d5947 *: fix bug of same type plans with different plan digest (#19519) 2020-09-01 21:55:20 +08:00
67214e763f planner: encode insert/delete/update executor plan information in slow log plan field (#19176) 2020-08-18 19:50:30 +08:00
148f2d456b planner: add store type to statement summary (#17825) 2020-08-12 19:28:17 +08:00
36ea109b83 *: record execute runtime information in slow log (#17573) 2020-06-09 12:16:47 +08:00
2dcc032bc3 Makefile: add staticcheck (#14420) 2020-01-10 14:59:43 +08:00
fd3ada61ca infoschema: add plan field to the statement summary tables (#14182) 2019-12-26 15:04:39 +08:00
c5e1302908 planner: support plan digest (#13124) 2019-12-03 21:08:55 +08:00
b8cd65714f *: record and print the plan in slow log. (#12179) 2019-10-17 22:13:19 +08:00