Commit Graph

5083 Commits

Author SHA1 Message Date
afc3276d9f *: enable linter for executor/aggregate.go (#37015) 2022-08-23 22:20:21 +08:00
45588a1f8e executor: let plan replayer support view (#37224)
close pingcap/tidb#37163
2022-08-23 19:44:20 +08:00
78b32f3cd4 *: fix the order of FallbackOldAndSetNewAction (#37272)
close pingcap/tidb#37058
2022-08-23 19:08:20 +08:00
4cf7eeee64 planner: add warn log for sync stats (#36956) 2022-08-22 15:24:20 +08:00
9af0f03506 *: only create snapshot interceptor for temporary table when needed (#37225)
close pingcap/tidb#37223
2022-08-22 12:28:53 +08:00
8b5b724d8a bazel: enable announcerc (#37217) 2022-08-19 19:06:52 +08:00
44f684ec77 *: only create TemporaryTableAttachedInfoSchema if needed (#37196)
close pingcap/tidb#37195
2022-08-18 18:34:51 +08:00
b7797db46c executor: let analyze isolevel controlled by tidb_enable_analyze_snapshot (#37193)
ref pingcap/tidb#36983
2022-08-18 14:18:53 +08:00
ef738eaba4 planner: introduce the Parameterizer interface for general plan cache (#37170)
ref pingcap/tidb#36598
2022-08-18 11:04:53 +08:00
8cf2e8094a parser: support trace analyze table statement (#37155)
close pingcap/tidb#37152
2022-08-17 14:08:51 +08:00
d5ce00e8b0 executor: generate fields in chunkRowRecordSet lazily (#37156)
ref pingcap/tidb#36049
2022-08-17 12:02:51 +08:00
5a4c14cfd5 executor: close recordset (#37145) 2022-08-16 22:20:50 +08:00
d0f8487dea *: support specifying range bits for auto_random (#36860)
close pingcap/tidb#32508
2022-08-16 20:54:50 +08:00
5dc3e58485 planner: introduce the general plan cache (#37150)
ref pingcap/tidb#36598
2022-08-16 20:24:51 +08:00
b705a13c7b planner: unify the Compile and CompileExecStmt functions (#37065)
ref pingcap/tidb#36598
2022-08-16 18:36:51 +08:00
f65948d8d5 planner: modify sysvar TiDBPrepPlanCacheSize scope (#37131)
ref pingcap/tidb#36598
2022-08-16 16:22:51 +08:00
9c0d6157e2 executor/splittest: add a benchmark test for locating region cache (#37132)
close pingcap/tidb#37107
2022-08-16 16:06:51 +08:00
e38c45cd8c *: save some WithLabelValues (#37106)
ref pingcap/tidb#36049
2022-08-16 14:48:51 +08:00
3d9a471446 executor: enable TiDBEnableWindowFunction in SystemVar (#37077)
close pingcap/tidb#35916, close pingcap/tidb#37045
2022-08-16 14:18:51 +08:00
0039dd2fde planner: introduce tidb_general_plan_cache_size for general plan cache (#37087)
ref pingcap/tidb#36598
2022-08-16 12:04:52 +08:00
39e00ebe07 util: set 50 shard_count (#37105) 2022-08-15 19:24:50 +08:00
5a39851554 executor: fix missing index names in stmt summary/slow log for [Batch]PointGet (#37073)
close pingcap/tidb#37066
2022-08-12 18:42:49 +08:00
7d8c45aa4d planner: provide a unified interface to set and get user variables and types (#37046)
ref pingcap/tidb#36598
2022-08-11 19:18:50 +08:00
d6d0ce7b10 *: gofmt code for adapting go 1.19 (#36832)
ref pingcap/tidb#36879
2022-08-11 12:50:49 +08:00
4fd3d0b66d planner: fix data race in the TestInlineProjection4HashJoinIssue15316 (#37014)
close pingcap/tidb#37009
2022-08-11 12:24:48 +08:00
e0c6240396 planner: introduce Session.CacheGeneralStmt for general plan cache (#37028)
close pingcap/tidb#36598
2022-08-11 12:02:48 +08:00
8af73ffa13 executor: more precise memory tracking (#35785)
close pingcap/tidb#36018
2022-08-10 22:44:48 +08:00
af989fb6c4 executor: add privilege check for prepare stmt (#36933)
close pingcap/tidb#35784
2022-08-10 21:32:50 +08:00
ba8e7cc78e planner: remove keyword prepared in plan cache backend (#37023)
ref pingcap/tidb#36598
2022-08-10 17:50:48 +08:00
d0feb1b542 executor: check memory limit before allocate large memory in HashAgg (#37013)
ref pingcap/tidb#35635
2022-08-10 14:00:47 +08:00
f3eb59c079 executor: close RecordSet (#37003) 2022-08-10 13:00:47 +08:00
c63a8d83a6 statistics: support extend show histograms (#36509)
close pingcap/tidb#36481
2022-08-10 11:58:48 +08:00
45f82afa20 executor: revert #36498 to avoid perf regression (#37005)
ref pingcap/tidb#36438
2022-08-10 10:42:48 +08:00
f403e198c4 planner: handle PointPlan specially in execute statements (#36987)
close pingcap/tidb#36783
2022-08-09 21:36:48 +08:00
42935af3cc parser,ddl: Interval partitioning (#35662)
ref pingcap/tidb#19132, close pingcap/tidb#35683
2022-08-09 19:06:49 +08:00
28c934cdae planner: finish todo in builtin_cast.go#L1945 (#36921)
close pingcap/tidb#36920
2022-08-09 16:16:47 +08:00
xhe
4b3563c6cb *: forbid creation of normal files with exec perm (#36691) 2022-08-09 15:42:47 +08:00
7d744b18e2 planner: remove execID in ExecuteStmt (#36967)
ref pingcap/tidb#36598
2022-08-09 14:10:47 +08:00
257c78764d test: fix race for SetDDL by moving ddl inject earlier (#36964)
close pingcap/tidb#36940
2022-08-09 10:36:47 +08:00
244b353a11 planner: support session level for the variable tidb_enable_prepared_plan_cache (#36923)
ref pingcap/tidb#36598
2022-08-08 11:18:47 +08:00
d76074623c planner: unify the parameters name in plan cache (#36899)
ref pingcap/tidb#36598
2022-08-05 17:20:06 +08:00
6418350e97 executor,expression: avoid to append nil to warnings (#36304)
close pingcap/tidb#31569
2022-08-05 17:00:06 +08:00
6be08109fb variable: Remove WARN for variable tidb_enable_noop_variable (#36890)
close pingcap/tidb#36647
2022-08-05 14:26:06 +08:00
2fbec001c9 planner: Fix panic for SET CONFIG...=DEFAULT (#35752)
close pingcap/tidb#35745
2022-08-05 14:08:06 +08:00
0a8611ddfe sysvar: add parsing phase for setting 'init_connect' (#36865)
close pingcap/tidb#35324
2022-08-05 12:42:06 +08:00
46cb6dc679 executor: fix column_default with timestamp and bit type (#36851)
close pingcap/tidb#36027
2022-08-04 15:30:06 +08:00
ca86fdd4be executor: fix cop request key range order another case (#36883)
close pingcap/tidb#36876
2022-08-04 14:38:05 +08:00
5ef18981cc Revert "planner: refactor the IsolationReadEngines variable for plan cache" (#36873) 2022-08-04 10:30:06 +08:00
bf23ee9090 executor: invalidate infoschema's stats cache after analyze (#32803)
close pingcap/tidb#32693
2022-08-03 22:00:05 +08:00
3a74656a5a executor: introduce hashRowContainer.GetMatchedRows method (#36848)
close pingcap/tidb#36847
2022-08-03 20:34:05 +08:00