You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* v1.8:
PHPC-1629: Check if read preference is valid during unserialization
PHPC-1629: Check if write concern is valid during construction and unserialization
phongo_throw_exception(PHONGO_ERROR_INVALID_ARGUMENT, "%s initialization requires \"j\" field to be boolean", ZSTR_VAL(php_phongo_writeconcern_ce->name));
86
91
goto failure;
87
92
}
88
93
}
89
94
95
+
if (!mongoc_write_concern_is_valid(intern->write_concern)) {
96
+
phongo_throw_exception(PHONGO_ERROR_INVALID_ARGUMENT, "Write concern is not valid");
0 commit comments