-
Type: Improvement
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
Since bson_decimal128_from_string () requires a null terminated string, the BSON to JSON conversion for bson_decimal128_t allocates a new string+1 since the input isn't null terminated.
We should be able to avoid that extra malloc, either though stack allocation or passing the length to the bson_decimal128_from_string () function.
- is related to
-
CDRIVER-1145 Implement Decimal 128 type spec
- Closed