bc634619af
The x64 image's bundled mariadb CLI is linked against GNU readline 5.1
and loses string-escape state when the input buffer is refilled mid
backslash-escape. Restoring dumps that contain long backslash-escaped
JSON (e.g. JSON columns carrying FCM push payloads) reproducibly fails
with `ERROR 1064 ... near '{\"token\":\"...'`. The arm tree is already
built from Debian's mariadb-client (libedit) and is not affected.
This swaps the x64 binaries for libedit-linked builds extracted from
the official MariaDB 12.1 APT repo, so both arches now use the same
packaging:
before: 12.1.2-MariaDB, client 15.2 for linux-systemd (x86_64) using readline 5.1
after: 12.1.2-MariaDB, client 15.2 for debian-linux-gnu (x86_64) using EditLine wrapper
Adds tools/refresh-mariadb-x64-libedit.sh to make the build
reproducible from any host with docker + linux/amd64 support.
Full diagnosis and reproduction in the PR description.