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

Commit b10d730

Browse files
committed
Merged pull request #59
2 parents 26e4bed + 7a1cb3c commit b10d730

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

utils.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,8 @@ HPHP::Object Utils::doExecuteBulkWrite(const HPHP::String ns, mongoc_client_t *c
199199
/* Deal with write concerns */
200200
if (write_concern) {
201201
mongoc_bulk_operation_set_write_concern(bulk_data->m_bulk, write_concern);
202+
} else {
203+
write_concern = mongoc_client_get_write_concern(client);
202204
}
203205

204206
/* Handle server hint */

0 commit comments

Comments
 (0)