Skip to content

Commit

Permalink
Update preprocess.go
Browse files Browse the repository at this point in the history
Remove conflict.
  • Loading branch information
Benjamin2037 authored May 7, 2024
1 parent a50e012 commit b7ae274
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions planner/core/preprocess.go
Original file line number Diff line number Diff line change
Expand Up @@ -157,13 +157,10 @@ const (
inSequenceFunction
// initTxnContextProvider is set when we should init txn context in preprocess
initTxnContextProvider
<<<<<<< HEAD:planner/core/preprocess.go
=======
// inImportInto is set when visiting an import into statement.
inImportInto
// inAnalyze is set when visiting an analyze statement.
inAnalyze
>>>>>>> fce2805f2a5 (planner: skip MDL when analyzing table (#50928)):pkg/planner/core/preprocess.go
)

// Make linter happy.
Expand Down Expand Up @@ -1914,8 +1911,6 @@ func tryLockMDLAndUpdateSchemaIfNecessary(sctx sessionctx.Context, dbName model.
}
return tbl, nil
}
<<<<<<< HEAD:planner/core/preprocess.go
=======

// skipLockMDL returns true if the preprocessor should skip the lock of MDL.
func (p *preprocessor) skipLockMDL() bool {
Expand All @@ -1924,4 +1919,3 @@ func (p *preprocessor) skipLockMDL() bool {
// skip lock mdl for ANALYZE statement.
return p.flag&inImportInto > 0 || p.flag&inAnalyze > 0
}
>>>>>>> fce2805f2a5 (planner: skip MDL when analyzing table (#50928)):pkg/planner/core/preprocess.go

0 comments on commit b7ae274

Please sign in to comment.