Merge pull request #54081 from Rubonnek/add_bin_messages_master

This commit is contained in:
Rémi Verschelde 2021-10-22 19:31:55 +02:00 committed by GitHub
commit f9be8b8e8e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2178,7 +2178,7 @@ int64_t String::bin_to_int() const {
s++;
}
if (len > 2 && s[0] == '0' && s[1] == 'b') {
if (len > 2 && s[0] == '0' && lower_case(s[1]) == 'b') {
s += 2;
}