We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 798a71a commit ad17e84Copy full SHA for ad17e84
src/libmongoc/tests/unified/entity-map.c
@@ -454,7 +454,7 @@ entity_database_new (entity_map_t *entity_map,
454
if (coll_or_db_opts->rp) {
455
mongoc_database_set_read_prefs (db, coll_or_db_opts->rp);
456
}
457
- if (coll_or_db_opts->rc) {
+ if (coll_or_db_opts->wc) {
458
mongoc_database_set_write_concern (db, coll_or_db_opts->wc);
459
460
@@ -517,7 +517,7 @@ entity_collection_new (entity_map_t *entity_map,
517
518
mongoc_collection_set_read_prefs (coll, coll_or_db_opts->rp);
519
520
521
mongoc_collection_set_write_concern (coll, coll_or_db_opts->wc);
522
523
0 commit comments