1
0
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:
reggie@big_geek.
2006-03-27 15:19:56 -06:00
parent 2d14a5e560
commit 7f674749b8
4 changed files with 71 additions and 124 deletions

View File

@@ -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();