Files
documentdb/pg_documentdb_core
Deepak Bisht 49bc988202 Merged PR 1563572: [OSS][BugFix] Fix pointer assignment
### Does this PR have any customer impact?
No

### Type (Feature, Refactoring, Bugfix, DevOps, Testing, Perf, etc)
BugFix

### Does it involve schema level changes? (Table, Column, Index, UDF, etc level changes)
No

### Are you introducing any new config? If yes, do you have tests with and without them being set?
No

### Release Note (Refer [Template](../docs/release_notes/pgmongo_template.md))

### Description
fix pointer assignment

----
#### AI description  (iteration 1)
#### PR Classification
https://github.com/microsoft/documentdb/issues/32 bug fix issue.
We are assigning bool to a pointer which is wrong, it doesn't impact any callers today because all the callers assign the flag to be `false` before passing it in. This change makes sure even if it wrongly set to `true` in future the function will override it for these cases

#### PR Summary
This pull request addresses a bug related to pointer assignment in the `AddInt64ToValue` function.
- `oss/pg_documentdb_core/src/io/pgbson_utils.c`: Corrected the assignment of the `overflowedFromInt64` pointer to ensure it is properly set to `false` after adding values.
2025-01-30 10:35:08 -08:00
..