-
-
Notifications
You must be signed in to change notification settings - Fork 251
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Test Array::over for unsoundness These tests reveal an unsoundness caused by implicit drop of Arrays, when the Drop implementation is called, causing pfree to be called. * Removal impl Drop for Array so tests pass Memory leak, shmemory leak. If we double free, we're in for much worse than a leak. * Remove unused duplicate ptr fields * Silence unread field warning for varlena ptr This pointer might actually prove important at some point, as it points back to the original, pre-detoasting varlena. More analysis is required before we ditch it. * Note FIXME for Array::from_datum * Cleanup in array_tests.rs * Cleanup in datum/array.rs * Document safety reqs for Array::from_pg * Repeat safety comment
- Loading branch information
1 parent
5bffd3e
commit 72f1e4a
Showing
2 changed files
with
62 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters