Commit cea82db9 authored by unknown's avatar unknown

Make federated compiling under windows

storage/federatedx/ha_federatedx.cc:
  lower_case_file_system do not suported for windows dll
parent 134ac848
......@@ -1417,11 +1417,17 @@ static void fill_server(MEM_ROOT *mem_root, FEDERATEDX_SERVER *server,
database.length(my_casedn_str(system_charset_info, database.c_ptr_safe()));
}
#ifndef __WIN__
/*
TODO: there is no unix sockets under windows so the engine should be
revised about using sockets in such environment.
*/
if (lower_case_file_system && socket.length())
{
socket.reserve(socket.length());
socket.length(my_casedn_str(files_charset_info, socket.c_ptr_safe()));
}
#endif
/* start with all bytes zeroed */
bzero(server, sizeof(*server));
......
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