Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
wk989898 committed Jan 27, 2025
1 parent 9b2ef00 commit 8b76c5a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions logservice/schemastore/persist_storage_ddl_handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import (
"github.com/pingcap/log"
"github.com/pingcap/ticdc/heartbeatpb"
"github.com/pingcap/ticdc/pkg/common"
"github.com/pingcap/ticdc/pkg/common/event"
commonEvent "github.com/pingcap/ticdc/pkg/common/event"
"github.com/pingcap/ticdc/pkg/filter"
"github.com/pingcap/tidb/pkg/meta/model"
Expand Down Expand Up @@ -1907,7 +1906,7 @@ func buildDDLEventForRenameTables(rawEvent *PersistedDDLEvent, tableFilter filte
InfluenceType: commonEvent.InfluenceTypeNormal,
TableIDs: []int64{heartbeatpb.DDLSpan.TableID},
}
querys, err := event.SplitQueries(rawEvent.Query)
querys, err := commonEvent.SplitQueries(rawEvent.Query)
if err != nil {
log.Panic("split queries failed", zap.Error(err))
}
Expand Down Expand Up @@ -2041,7 +2040,7 @@ func buildDDLEventForCreateTables(rawEvent *PersistedDDLEvent, tableFilter filte
if allFiltered {
return commonEvent.DDLEvent{}, false
}
querys, err := event.SplitQueries(rawEvent.Query)
querys, err := commonEvent.SplitQueries(rawEvent.Query)
if err != nil {
log.Panic("split queries failed", zap.Error(err))
}
Expand Down

0 comments on commit 8b76c5a

Please sign in to comment.