Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-314

typo in error message

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Trivial - P5 Trivial - P5
    • None
    • TBD
    • None
    • None

    Description

      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;
        }

      Attachments

        Activity

          People

            Unassigned Unassigned
            gustafn Gustaf Neumann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: