Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
amyangfei committed Jul 26, 2019
1 parent 9aac6dd commit 4fc4e4a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions executor/executor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,7 @@ func checkCases(tests []testCase, ld *executor.LoadDataInfo,
ctx.GetSessionVars().StmtCtx.DupKeyAsWarning = true
ctx.GetSessionVars().StmtCtx.BadNullAsWarning = true
ctx.GetSessionVars().StmtCtx.InLoadDataStmt = true
ctx.GetSessionVars().StmtCtx.InDeleteStmt = false
data, reachLimit, err1 := ld.InsertData(context.Background(), tt.data1, tt.data2)
c.Assert(err1, IsNil)
c.Assert(reachLimit, IsFalse)
Expand Down

0 comments on commit 4fc4e4a

Please sign in to comment.