summaryrefslogtreecommitdiff
path: root/mysql-test/std_data
diff options
context:
space:
mode:
authorSachin Kumar <sachin.setiya@mariadb.com>2021-05-19 15:46:57 +0100
committerBrandon Nesterenko <brandon.nesterenko@mariadb.com>2021-10-05 08:17:08 -0600
commit10cd281820cdcbef2fd9bc68c97325659f84de4a (patch)
tree0153a8ebff05798161e7595197510fe8d5709a6e /mysql-test/std_data
parent1d57892949eeb317a0914da0ff2d03deed45505a (diff)
downloadmariadb-git-10cd281820cdcbef2fd9bc68c97325659f84de4a.tar.gz
MDEV-25444 mysql --binary-mode is not able to replay some mysqlbinlog outputs
Problem:- Some binary data is inserted into the table using Jconnector. When binlog dump of the data is applied using mysql cleint it gives syntax error. Reason:- After investigating it turns out to be a issue of mysql client not able to properly handle \\\0 <0 in binary>. In all binary files where mysql client fails to insert these 2 bytes are commom (0x5c00) Solution:- I have changed mysql.cc to include for the possibility that binary string can have \\\0 in it
Diffstat (limited to 'mysql-test/std_data')
-rw-r--r--mysql-test/std_data/binary_zero_insert.binbin0 -> 87 bytes
1 files changed, 0 insertions, 0 deletions
diff --git a/mysql-test/std_data/binary_zero_insert.bin b/mysql-test/std_data/binary_zero_insert.bin
new file mode 100644
index 00000000000..8a91ae5d3e1
--- /dev/null
+++ b/mysql-test/std_data/binary_zero_insert.bin
Binary files differ