mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Open result file in binary moe to avoid CR/LF problems
This commit is contained in:
@@ -517,7 +517,7 @@ public:
|
||||
|
||||
DBUG_PRINT("info", ("file_name: %s", m_file_name));
|
||||
|
||||
if ((m_file= fopen(m_file_name, "w+")) == NULL)
|
||||
if ((m_file= fopen(m_file_name, "wb+")) == NULL)
|
||||
die("Failed to open log file %s, errno: %d", m_file_name, errno);
|
||||
|
||||
DBUG_VOID_RETURN;
|
||||
|
Reference in New Issue
Block a user