mirror of
https://github.com/MariaDB/server.git
synced 2025-08-30 11:22:14 +03:00
removed handlerton-win.cc
now using CONFIGURE_FILE and INCLUDE to generate handlerton.cc and to set the definitions based on the storage engines given on the command line
This commit is contained in:
@@ -14,7 +14,27 @@ try
|
||||
var configfile = fso.CreateTextFile("win\\configure.data", true);
|
||||
for (i=0; i < args.Count(); i++)
|
||||
{
|
||||
configfile.WriteLine(args.Item(i));
|
||||
var parts = args.Item(i).split('=');
|
||||
switch (parts[0])
|
||||
{
|
||||
case "WITH_ARCHIVE_STORAGE_ENGINE":
|
||||
case "WITH_BERKELEY_STORAGE_ENGINE":
|
||||
case "WITH_BLACKHOLE_STORAGE_ENGINE":
|
||||
case "WITH_EXAMPLE_STORAGE_ENGINE":
|
||||
case "WITH_FEDERATED_STORAGE_ENGINE":
|
||||
case "WITH_INNOBASE_STORAGE_ENGINE":
|
||||
case "WITH_PARTITION_STORAGE_ENGINE":
|
||||
case "__NT__":
|
||||
line = "SET (" + args.Item(i) + " TRUE)";
|
||||
break;
|
||||
case "MYSQL_SERVER_SUFFIX":
|
||||
case "COMPILATION_COMMENT":
|
||||
case "MYSQL_TCP_PORT":
|
||||
line = "SET (" + parts[0] + " " + parts[1] + ")";
|
||||
break;
|
||||
}
|
||||
|
||||
configfile.WriteLine(line);
|
||||
}
|
||||
configfile.Close();
|
||||
|
||||
|
Reference in New Issue
Block a user