torwig commented on issue #1212: URL: https://github.com/apache/incubator-kvrocks/issues/1212#issuecomment-1366801588
@lt1946 I got the reason why the result is `-1`. Currently, the `BITPOS` command doesn't support `BIT` flag, so it considers `start` and `end` values as **bytes**. ``` 127.0.0.1:6379> BITPOS mykey1 1 1 2 (integer) 8 127.0.0.1:6379> BITPOS mykey1 1 2 3 (integer) 16 ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
