diff options
Diffstat (limited to 'sql/mysqld.cc')
-rw-r--r-- | sql/mysqld.cc | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/sql/mysqld.cc b/sql/mysqld.cc index 289d45cddee..4f6255e81d1 100644 --- a/sql/mysqld.cc +++ b/sql/mysqld.cc @@ -5728,17 +5728,11 @@ int mysqld_main(int argc, char **argv) init_ssl(); network_init(); -#ifdef __WIN__ +#ifdef _WIN32 if (!opt_console) { FreeConsole(); // Remove window } - - if (fileno(stdin) >= 0) - { - /* Disable CRLF translation (MDEV-9409). */ - _setmode(fileno(stdin), O_BINARY); - } #endif #ifdef WITH_WSREP |