-
Notifications
You must be signed in to change notification settings - Fork 479
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
colblk: fix UintBuilder's construction of constant column with default
Previously if a UintBuilder was constructed with InitWithDefault, and the column contained no non-zero elements, the UintBuilder would never construct an array to back b.array.elems. The call to unsafe.Slice would panic when it observed a non-zero element count and a nil pointer.
- Loading branch information
Showing
2 changed files
with
29 additions
and
1 deletion.
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