Skip to content

Commit

Permalink
tmp0904
Browse files Browse the repository at this point in the history
Signed-off-by: Weizhen Wang <[email protected]>
  • Loading branch information
hawkingrei committed Sep 5, 2024
1 parent bcb4cef commit 5948fde
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pkg/planner/core/logical_plan_builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -4048,9 +4048,6 @@ func (ds *DataSource) AddExtraPhysTblIDColumn() *expression.Column {
// 3. statistics is outdated.
// Note: please also update getLatestVersionFromStatsTable() when logic in this function changes.
func getStatsTable(ctx base.PlanContext, tblInfo *model.TableInfo, pid int64) *statistics.Table {
if !ctx.GetSessionVars().InRestrictedSQL {
fmt.Println("fmt")
}
statsHandle := domain.GetDomain(ctx).StatsHandle()
var usePartitionStats, countIs0, pseudoStatsForUninitialized, pseudoStatsForOutdated bool
var statsTbl *statistics.Table
Expand Down

0 comments on commit 5948fde

Please sign in to comment.