Skip to content

Commit 0da5b64

Browse files
committed
fix
1 parent 6579d49 commit 0da5b64

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

pkg/sql/parsers/tree/pitr.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,6 @@ type CreatePitr struct {
118118

119119
PitrValue int64
120120
PitrUnit string
121-
122-
ExecLocation ExecLocation // 执行位置:EXEC_IN_FRONTEND 或 EXEC_IN_ENGINE
123121
}
124122

125123
func (node *CreatePitr) Format(ctx *FmtCtx) {
@@ -153,10 +151,6 @@ func (node *CreatePitr) Format(ctx *FmtCtx) {
153151
ctx.WriteString(fmt.Sprintf("%v ", node.PitrValue))
154152
ctx.WriteString(" ")
155153
ctx.WriteString(node.PitrUnit)
156-
157-
if node.ExecLocation == EXEC_IN_ENGINE {
158-
ctx.WriteString(" in engine")
159-
}
160154
}
161155

162156
func (node *CreatePitr) GetStatementType() string { return "Create PITR" }

0 commit comments

Comments
 (0)