Commit 450abf0 1 parent c949b26 commit 450abf0 Copy full SHA for 450abf0
File tree 1 file changed +3
-1
lines changed
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -116,14 +116,16 @@ where
116
116
}
117
117
118
118
/**
119
- Oxidized form of [ARR_NULLBITMAP(ArrayType*)][ARR_NULLBITMAP]
119
+ Oxidized form of [ARR_NULLBITMAP(ArrayType*)][arr_nullbitmap]
120
+
120
121
If this returns None, the array *cannot* have nulls.
121
122
Note that unlike the `is_null: bool` that appears elsewhere, 1 is "valid" and 0 is "null".
122
123
123
124
# Safety
124
125
Trailing bits must be set to 0, and all elements marked with 1 must be initialized.
125
126
The null bitmap is linear but the layout of elements may be nonlinear, so for some arrays
126
127
these cannot be calculated directly from each other.
128
+
127
129
[ARR_NULLBITMAP]: <https://git.postgresql.org/gitweb/?p=postgresql.git;a=blob;f=src/include/utils/array.h;h=4ae6c3be2f8b57afa38c19af2779f67c782e4efc;hb=278273ccbad27a8834dfdf11895da9cd91de4114#l293>
128
130
*/
129
131
pub unsafe fn nulls_mut ( & mut self ) -> Option < & mut [ u8 ] > {
You can’t perform that action at this time.
0 commit comments