mongo-c-driver icon indicating copy to clipboard operation
mongo-c-driver copied to clipboard

The Official MongoDB driver for C language

Results 24 mongo-c-driver issues
Sort by recently updated
recently updated
newest added

## Summary Resolves CDRIVER-5732. Verified by [this patch](https://spruce.mongodb.com/version/66f1db6ebc3dd60007aa6fa2). Replaces the painfully-difficult-to-maintain `_bson_append` internal variadic function with a new macro-based pattern to avoid a wide range of issues concerning integer arithmetic...

# Summary This PR will sync two spec tests to match the changes made in https://github.com/mongodb/specifications/commit/30b3a75291794794152c377854df9fee1ccc6875. # Background See DRIVERS-2914. Server 8.0 requires aggregation tests with `$out` to not pre-create...

Fixes behavior of `bson_string_truncate` with large lengths. Verified with [this patch build](https://spruce.mongodb.com/version/66f186c226f05a00072fb0a4). See CDRIVER-5733 for details. Also adds tests for behavior of `bson_string_truncate`. In the process of this fix, other...

# Summary This PR optimizes `bson_utf8_escape_for_json` to reduce performance problems in `bson_as_json`. # Motivation Credit to @alcaeus for the initial find and [draft PR](https://github.com/mongodb/mongo-c-driver/pull/1419). Much of the work in this...