[SERVER-81077] Handle cases where double is covered to a string with scientific notation Created: 14/Sep/23 Updated: 29/Oct/23 Resolved: 15/Sep/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.2.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Adi Agrawal | Assignee: | Adi Agrawal |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Operating System: | ALL | ||||
| Sprint: | QE 2023-09-18 | ||||
| Participants: | |||||
| Linked BF Score: | 44 | ||||
| Description |
|
A double like 0.000068432 will be converted to the following string 6.8432e-05. The test for round trip conversion between string and double in expression_test.cpp does not handle such a case. |
| Comments |
| Comment by Githook User [ 26/Sep/23 ] |
|
Author: {'name': 'Adityavardhan Agrawal', 'email': 'adi.agrawal@mongodb.com', 'username': 'Adityav369'}Message: (cherry picked from commit 052ff0258ae00ed49e486e0a8acbffa81c7783d4)
(cherry picked from commit 39a130951177f23625ef56fec07aa49b4dc2878b) |
| Comment by Githook User [ 22/Sep/23 ] |
|
Author: {'name': 'Adityavardhan Agrawal', 'email': 'adi.agrawal@mongodb.com', 'username': 'Adityav369'}Message: (cherry picked from commit 052ff0258ae00ed49e486e0a8acbffa81c7783d4)
(cherry picked from commit 39a130951177f23625ef56fec07aa49b4dc2878b) |
| Comment by Githook User [ 20/Sep/23 ] |
|
Author: {'name': 'Adityavardhan Agrawal', 'email': 'adi.agrawal@mongodb.com', 'username': 'Adityav369'}Message: (cherry picked from commit 052ff0258ae00ed49e486e0a8acbffa81c7783d4) (cherry picked from commit 39a130951177f23625ef56fec07aa49b4dc2878b) |
| Comment by Githook User [ 20/Sep/23 ] |
|
Author: {'name': 'Adityavardhan Agrawal', 'email': 'adi.agrawal@mongodb.com', 'username': 'Adityav369'}Message: (cherry picked from commit 052ff0258ae00ed49e486e0a8acbffa81c7783d4)
(cherry picked from commit 39a130951177f23625ef56fec07aa49b4dc2878b) |
| Comment by Githook User [ 20/Sep/23 ] |
|
Author: {'name': 'Adityavardhan Agrawal', 'email': 'adi.agrawal@mongodb.com', 'username': 'Adityav369'}Message: (cherry picked from commit 052ff0258ae00ed49e486e0a8acbffa81c7783d4)
(cherry picked from commit 39a130951177f23625ef56fec07aa49b4dc2878b) |
| Comment by Githook User [ 15/Sep/23 ] |
|
Author: {'name': 'Adityavardhan Agrawal', 'email': 'adi.agrawal@mongodb.com', 'username': 'Adityav369'}Message: |