Skip to content

Commit

Permalink
make sure to not return error when things worked
Browse files Browse the repository at this point in the history
Signed-off-by: Andres Taylor <andres@planetscale.com>
  • Loading branch information
systay committed Mar 11, 2021
1 parent 00bf410 commit e762d58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/vt/vtgate/engine/dbddl.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ func (c *DBDDL) dropDatabase(vcursor VCursor, plugin DBDDLPlugin) (*sqltypes.Res
case <-time.After(500 * time.Millisecond): //timeout
}
}
return &sqltypes.Result{StatusFlags: sqltypes.ServerStatusDbDropped}, err
return &sqltypes.Result{StatusFlags: sqltypes.ServerStatusDbDropped}, nil
}

// StreamExecute implements the Primitive interface
Expand Down

0 comments on commit e762d58

Please sign in to comment.