[SERVER-30467] Extend $_internalSchemaMinLength and $_internalSchemaMaxLength to count lengths of Unicode strings Created: 01/Aug/17  Updated: 30/Oct/23  Resolved: 18/Aug/17

Status: Closed
Project: Core Server
Component/s: Querying
Affects Version/s: None
Fix Version/s: 3.5.12

Type: Bug Priority: Major - P3
Reporter: Kyle Suarez Assignee: Justin Seyster
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-29581 Create $_internalSchemaMinLength and ... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Query 2017-08-21, Query 2017-09-11
Participants:

 Description   

$_internalSchemaMinLength and $_internalSchemaMaxLength must be updated to properly count the lengths of Unicode strings, which may contain multibyte characters.



 Comments   
Comment by Githook User [ 18/Aug/17 ]

Author:

{'username': 'jseyster', 'email': 'justin.seyster@mongodb.com', 'name': 'Justin Seyster'}

Message: SERVER-30467 $_internalSchema

{Min|Max}

Length counts UTF-8 code points.
Branch: master
https://github.com/mongodb/mongo/commit/83e1ff54a1ef7fed5050e01ee9672f7dcf460e3e

Generated at Thu Feb 08 04:23:55 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.