Let's say I have a table 'day_attribute_type'
id bigint(20) AI PK
code varchar(255)
persist_date bigint(20)
update_date bigint(20)
active bit(1)
max int(11)
min int(11)
name varchar(255)
If I would add a new row into the Result Grid and press the Apply button, I would get the following query:
INSERT INTO `tl2`.`day_attribute_type` (`persist_date`, `update_date`, `active`, `max`, `min`, `name`)
VALUES ('1', '2', b'1', b'12', b'12', b'text');
It looks like Workbench puts 'b' not only before the bit field, but also before some other fields. It's really annoying to post-edit the query and remove their buggy things.
MySQL WorkBench 8.0.16 x64, Windows 10 MYSQL Community Server 8.8.12
I've updated MySQL Workbench for a year and this nasty bug continued to appear... I've even reinstalled my Windows.
It looks like nobody is going to fix it. It is mentioned here. Please, can somebody try to reproduce this bug on Linux/Max and confirm either you have it or not.