[SERVER-69279] Coverity analysis defect 128706: Uninitialized scalar field Created: 31/Aug/22 Updated: 27/Oct/23 Resolved: 12/Jan/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Internal Code |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Coverity Collector User | Assignee: | Milena Ivanova |
| Resolution: | Gone away | Votes: | 0 |
| Labels: | coverity, neweng, quick-tech-debt | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| Assigned Teams: |
Query Optimization
|
| Operating System: | ALL |
| Participants: |
| Description |
|
Uninitialized scalar field The field will contain an arbitrary value left over from earlier computations. A scalar field is not initialized by the constructor |
| Comments |
| Comment by Milena Ivanova [ 12/Jan/23 ] |
|
The code where the error occurred is outdated. The current version of OptPhaseManager has two cardinality estimators which are initialized and uassert-ed in the constructor. |