Skip to content

Commit a10f4d6

Browse files
committed
make _in_sharded_txn static
1 parent 45579c2 commit a10f4d6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libmongoc/src/mongoc/mongoc-cluster.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,7 @@ mongoc_cluster_run_command_opquery (mongoc_cluster_t *cluster,
493493
RETURN (ret);
494494
}
495495

496-
bool
496+
static bool
497497
_in_sharded_txn (const mongoc_client_session_t *session)
498498
{
499499
return session && _mongoc_client_session_in_txn_or_ending (session) &&
@@ -904,7 +904,7 @@ _stream_run_hello (mongoc_cluster_t *cluster,
904904
if (negotiate_sasl_supported_mechs) {
905905
bsonParse (reply,
906906
find (allOf (key ("ok"), isFalse), //
907-
do({
907+
do ({
908908
/* hello response returned ok: 0. According to
909909
* auth spec: "If the hello of the MongoDB
910910
* Handshake fails with an error, drivers MUST

0 commit comments

Comments
 (0)