Escaped \0 characters break string insertion
Submitted by Miguel Angel Cabrera Moya
Assigned to mal..@..db.org
Link to original bug (#696129)
Description
This is the query that insert information, viewed from gdb
INSERT IGNORE INTO extra_data (event_id, data_payload) VALUES (0x2f0bbd21908011e28bf94e34c5bfda64,'F\0\0\0\377j\004Host ''192.168.203.7'' is not allowed to connect to this MySQL server')
The data is viewed as
select hex(data_payload) from database.extra_data;
+-------------------+ | hex(data_payload) | +-------------------+ | 46000000 | +-------------------+
If you need any information please contact me.
Version: 5.1.x