Update docs/en/sql-reference/functions/bit-functions.md

Co-authored-by: gyuton <40863448+gyuton@users.noreply.github.com>
This commit is contained in:
lehasm 2021-11-01 18:31:37 +03:00 committed by GitHub
parent 4ae73c9493
commit f9ceaecc2d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,7 +19,8 @@ The result type is an integer with bits equal to the maximum bits of its argumen
## bitShiftLeft(a, b) {#bitshiftlefta-b} ## bitShiftLeft(a, b) {#bitshiftlefta-b}
Shifts a value left by specified number of bit positions. Shifts the bit representation of a value to the left by a specified number of bit positions.
A `FixedString` or a `String` are treated as a single multibyte value. A `FixedString` or a `String` are treated as a single multibyte value.
Bits of a `FixedString` value are lost as they are shifted out. On the contrary a `String` value is extended with additional bytes, so no bits are lost. Bits of a `FixedString` value are lost as they are shifted out. On the contrary a `String` value is extended with additional bytes, so no bits are lost.