[SERVER-39104] In Stitch Support Library indicate BSON arrays are not strings by using a non-char* C type Created: 18/Jan/19 Updated: 29/Oct/23 Resolved: 23/Jan/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Querying |
| Affects Version/s: | None |
| Fix Version/s: | 4.1.8 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Jacob Evans | Assignee: | Jacob Evans |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Sprint: | Query 2019-01-28 |
| Participants: |
| Description |
|
stitch_support.h uses char* for BSON arrays which has lead to some confusion when consumers expect char* to indicate a null-terminated string. We should adjust the type to something else to prevent the incorrect assumption. |
| Comments |
| Comment by Githook User [ 23/Jan/19 ] |
|
Author: {'email': 'gregory.wlodarek@mongodb.com', 'name': 'Gregory Wlodarek', 'username': 'GWlodarek'}Message: |
| Comment by Githook User [ 23/Jan/19 ] |
|
Author: {'email': 'jacob.evans@10gen.com', 'name': 'Jacob Evans'}Message: |