maria-developers team mailing list archive
-
maria-developers team
-
Mailing list archive
-
Message #01426
[Branch ~maria-captains/maria/5.1] Rev 2758: Make federated compiling under windows
------------------------------------------------------------
revno: 2758
committer: sanja@xxxxxxxxxxxx
branch nick: work-maria-5.1-federatedx
timestamp: Tue 2009-11-03 13:08:09 +0200
message:
Make federated compiling under windows
modified:
storage/federatedx/ha_federatedx.cc
--
lp:maria
https://code.launchpad.net/~maria-captains/maria/5.1
Your team Maria developers is subscribed to branch lp:maria.
To unsubscribe from this branch go to https://code.launchpad.net/~maria-captains/maria/5.1/+edit-subscription.
=== modified file 'storage/federatedx/ha_federatedx.cc'
--- storage/federatedx/ha_federatedx.cc 2009-10-30 18:50:56 +0000
+++ storage/federatedx/ha_federatedx.cc 2009-11-03 11:08:09 +0000
@@ -1416,12 +1416,18 @@
database.reserve(database.length());
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));