Skip to content

Commit

Permalink
adapt 4.0 version when using run_command
Browse files Browse the repository at this point in the history
  • Loading branch information
vinllen committed Sep 17, 2018
1 parent 2b483bf commit a7c5336
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion socket.go
Original file line number Diff line number Diff line change
Expand Up @@ -530,10 +530,12 @@ func (socket *mongoSocket) Query(ops ...interface{}) (err error) {
if err != nil {
return err
}
// erase to adapt 4.0 version
/*
buf, err = addBSON(buf, op.docs)
if err != nil {
return err
}
}*/
replyFunc = op.replyFunc

default:
Expand Down

0 comments on commit a7c5336

Please sign in to comment.