Skip to content
This repository was archived by the owner on Jan 28, 2021. It is now read-only.

Commit 2e82b0a

Browse files
authoredSep 30, 2019
Implemented REPLACE (#825)
Implemented REPLACE
2 parents 92ab81b + d480733 commit 2e82b0a

File tree

9 files changed

+705
-18
lines changed

9 files changed

+705
-18
lines changed
 

Diff for: ‎engine.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ func (e *Engine) Query(
120120
case *plan.CreateIndex:
121121
typ = sql.CreateIndexProcess
122122
perm = auth.ReadPerm | auth.WritePerm
123-
case *plan.InsertInto, *plan.DropIndex, *plan.UnlockTables, *plan.LockTables:
123+
case *plan.InsertInto, *plan.DeleteFrom, *plan.DropIndex, *plan.UnlockTables, *plan.LockTables:
124124
perm = auth.ReadPerm | auth.WritePerm
125125
}
126126

0 commit comments

Comments
 (0)