Commit Graph

5092 Commits

Author SHA1 Message Date
4c8c918c43 executor: add conversion to opaque value for json_objectagg and json_arrayagg (#37337)
close pingcap/tidb#25053
2022-08-25 17:20:22 +08:00
a89ef1f276 *: support ACCOUNT (UN)LOCK when creating/altering user (#37052)
close pingcap/tidb#35961, close pingcap/tidb#37051
2022-08-25 16:12:22 +08:00
7d9c68446a executor: fix unstable TestGlobalMemoryTrackerOnCleanUp (#37372)
close pingcap/tidb#36585
2022-08-25 14:30:22 +08:00
d435267600 statistics: track used stats status during query (#37101)
ref pingcap/tidb#36481
2022-08-25 12:14:21 +08:00
eb8fc860ed executor: let plan replayer record table tiflash replica (#37336)
close pingcap/tidb#37255
2022-08-24 22:10:21 +08:00
25dda978ff types: fix a bug in casting str2str when union (#37242)
close pingcap/tidb#31678
2022-08-24 18:26:21 +08:00
75c70ecd0a executor: reduce a place of object allocation for HashAggExec (#37300)
close pingcap/tidb#37299
2022-08-24 13:06:20 +08:00
81a93a6977 executor, util: fix UnionScan Next() skip reading data when passed chunk capacity is 0 (#36961)
close pingcap/tidb#36903
2022-08-24 12:38:21 +08:00
285a02fa30 *: fix global temp table will read tikv after schema change (#37312)
close pingcap/tidb#37306
2022-08-24 12:08:20 +08:00
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