dble
dble copied to clipboard
Load data with empty value '' makes wrong data
Raised by: @zhunina
Steps:
- Execute
create table binary_columns(
id int primary key,
c_binary binary(255)
);
- Load Data:
load data local infile '/opt/loaddata/binary_columns' into table binary_columns fields terminated by ',' lines terminated by '\r\n' (id,c_binary);(data is attached: binary_columns.zip ) - Result:
- 16 rows inserted, while 40 rows are expected
- the data of
id=19:c_binaryis '000000000...000', while '' was expected