Commit fba31949 authored by Magnus Svensson's avatar Magnus Svensson

Open result file in binary moe to avoid CR/LF problems

parent cda4f08f
...@@ -517,7 +517,7 @@ public: ...@@ -517,7 +517,7 @@ public:
DBUG_PRINT("info", ("file_name: %s", m_file_name)); 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); die("Failed to open log file %s, errno: %d", m_file_name, errno);
DBUG_VOID_RETURN; DBUG_VOID_RETURN;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment