mirror of
https://github.com/MariaDB/server.git
synced 2026-10-23 18:49:29 +03:00
Do not use the dup() call from the IO-cache fd to initialize the binlog reader, it does not work on Windows. This was probably intended to easily open the binlog file both from a filename and from stdin. However, reading InnoDB binlog files requires a seekable fd for pread() anyway and access to other binlog files from their original filename in case of OOB references, reading from stdin via a pipe eg. does not work anyway. So just open the binlog by name and disallow reading from stdin explicitly. Reviewed-by: Brandon Nesterenko <brandon.nesterenko@mariadb.com> Signed-off-by: Kristian Nielsen <knielsen@knielsen-hq.org>
35 KiB
35 KiB