-
Type: Bug
-
Resolution: Done
-
Priority: Trivial - P5
-
None
-
Affects Version/s: TBD
-
Component/s: None
-
Labels:None
The new mongoc_collection_stats() function has a typo in the error message in the code handling the options. really a minor thing, but it has the potential to slip through, so i am reporting it here...
diff --git a/src/mongoc/mongoc-collection.c b/src/mongoc/mongoc-collection.c
index 2af7efb..d12cb01 100644
— a/src/mongoc/mongoc-collection.c
+++ b/src/mongoc/mongoc-collection.c
@@ -1566,7 +1566,7 @@ mongoc_collection_stats (mongoc_collection_t *collection,
bson_set_error (error,
MONGOC_ERROR_BSON,
MONGOC_ERROR_BSON_INVALID,
- "'sacle' must be an int32 value.");
+ "'scale' must be an int32 value.");
return false;
}