File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 43
43
static bool
44
44
_is_resumable_error (const bson_t * reply )
45
45
{
46
- bson_error_t error ;
46
+ bson_error_t error = { 0 } ;
47
47
48
48
/* Change Streams Spec resumable criteria: "any error encountered which is
49
49
* not a server error (e.g. a timeout error or network error)" */
Original file line number Diff line number Diff line change 54
54
#include "mongoc-read-concern-private.h"
55
55
#include "mongoc-host-list-private.h"
56
56
#include "mongoc-read-prefs-private.h"
57
+ #include "mongoc-change-stream-private.h"
57
58
#include "mongoc-client-session-private.h"
58
59
#include "mongoc-cursor-private.h"
59
60
62
63
#include "mongoc-ssl-private.h"
63
64
#include "mongoc-cmd-private.h"
64
65
#include "mongoc-opts-private.h"
65
- #include "mongoc-change-stream-private.h"
66
-
67
66
#endif
68
67
69
68
Original file line number Diff line number Diff line change @@ -1380,7 +1380,8 @@ test_change_stream_install (TestSuite *suite)
1380
1380
test_change_stream_start_at_operation_time ,
1381
1381
NULL ,
1382
1382
NULL ,
1383
- test_framework_skip_if_not_rs_version_7 );
1383
+ test_framework_skip_if_not_rs_version_7 ,
1384
+ test_framework_skip_if_no_sessions );
1384
1385
TestSuite_AddFull (suite ,
1385
1386
"/change_stream/database" ,
1386
1387
test_change_stream_database_watch ,
You can’t perform that action at this time.
0 commit comments