Bug #114628 | Cannot convert string '\x80' from binary to utf8mb4 | ||
---|---|---|---|
Submitted: | 12 Apr 2:58 | Modified: | 12 Apr 7:02 |
Reporter: | peng a | Email Updates: | |
Status: | Can't repeat | Impact on me: | |
Category: | MySQL Server: DML | Severity: | S3 (Non-critical) |
Version: | mysql 8.0.28 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[12 Apr 2:58]
peng a
[12 Apr 7:02]
MySQL Verification Team
Hello peng a, Thank you for the report. IMHO this issue seems to be fixed in 8.0.32: bin/mysql -uroot -S /tmp/mysql.sock Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 7 Server version: 8.0.32 MySQL Community Server - GPL Copyright (c) 2000, 2023, Oracle and/or its affiliates. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. mysql> create database test; Query OK, 1 row affected (0.00 sec) mysql> use test Database changed mysql> create table tbl(`decimal_col` decimal(25,5) DEFAULT NULL, bit_col bit(8) default 0); Query OK, 0 rows affected (0.02 sec) mysql> insert into tbl values(-99999999999999999999.99999,b'10000000'); Query OK, 1 row affected (0.01 sec) mysql> select decimal_col,bit_col from tbl where bit_col NOT LIKE '0xAA%'; +-----------------------------+------------------+ | decimal_col | bit_col | +-----------------------------+------------------+ | -99999999999999999999.99999 | 0x80 | +-----------------------------+------------------+ 1 row in set (0.00 sec) I couldn't confirm which exact or related bug fixed this but will check and update here. https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-32.html regards, Umesh