mongodb/mongo-cxx-driver — pull request #95 by TylerBrock (2014-06-10 20:40:41+00:00)
Title: CXX-175 ensure bulk operation executed if write fails

`_executed` should be moved before our call to `_write()` so that if the write fails and throws we still cannot execute the operation twice.