Skip to content

Commit

Permalink
A word
Browse files Browse the repository at this point in the history
  • Loading branch information
nathan-artie committed Jun 24, 2024
1 parent dd00cae commit 3acae62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/debezium/decimal.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func EncodeDecimal(value string, scale uint16) ([]byte, error) {

if data[0] > 127 {
// If the first bit is already set then it is a significant bit and we need to prepend an additional byte
// so that the first bit can be used to indicate whether the number is positive or negative.
// so that the first bit can safely be used to indicate whether the number is positive or negative.
data = slices.Concat([]byte{0}, data)
}

Expand Down

0 comments on commit 3acae62

Please sign in to comment.