1
0
mirror of https://github.com/MariaDB/server.git synced 2025-09-02 09:41:40 +03:00

Several Netware specific fixes.

configure.in:
  To configure InnoDB for cross compilation.
include/config-netware.h:
  NetWare specific change to fix the compilation errors caused by event.h
  NetWare specific change required for WINE PATH and for new versions LibC(Jun 05)
  and zlib(1.2.3)
netware/BUILD/compile-AUTOTOOLS:
  Netware specific change reflecting the change in source code
  directory structure.
netware/BUILD/compile-linux-tools:
  Netware specific change to fix the location where gen_lex_hash
  gets created. Fixed also directory structure reflecting changes.
netware/BUILD/compile-netware-END:
  Netware specific change for creating mysqld_error.h
netware/BUILD/mwenv:
  Netware specific change required for WINE PATH and for
  new versions LibC(Jun 05) and zlib(1.2.3).
netware/BUILD/nwbootstrap:
  NetWare Specific change to produce absoulte path for XDC file.
netware/Makefile.am:
  Netware specific changes to fix to match new
  directory structure.
netware/my_manage.h:
  Netware specific change required for WINE PATH and for new versions
  LibC(Jun 05) and zlib(1.2.3).
netware/mysql_test_run.c:
  Netware specific change, added --autoclose option for mysql_test_run.nlm.
scripts/make_binary_distribution.sh:
  Fix to reflect change in directory structure.
sql/mysqld.cc:
  Stacksize change for Netware.
  Netware specific change to fix the compilation errors caused by event.h
sql/set_var.cc:
  Minor indending related fix.
sql/sql_class.cc:
  Added #ifdef HAVE_EXPLICIT_TEMPLATE_INSTANTIATION macro.
storage/innobase/os/os0thread.c:
  Netware specific change to increase the thread stack size.
storage/myisam/mi_locking.c:
  Enclosed MMAP related code under HAVE_MMAP preprocessor directive.
This commit is contained in:
unknown
2006-02-02 16:22:31 +02:00
parent f0263ac452
commit d497966a18
16 changed files with 102 additions and 38 deletions

View File

@@ -1189,7 +1189,7 @@ void setup(char *file)
******************************************************************************/
int main(int argc, char **argv)
{
int is_ignore_list = 0;
int is_ignore_list= 0, autoclose= 0, individual_execution= 0;
// setup
setup(argv[0]);
@@ -1236,16 +1236,22 @@ int main(int argc, char **argv)
{
int i;
// single test
single_test = TRUE;
for (i = 1 + is_ignore_list; i < argc; i++)
{
if (!strncasecmp(argv[i], "--autoclose", 11))
{
autoclose= 1;
continue;
}
// single test
single_test= TRUE;
individual_execution= 1;
// run given test
run_test(argv[i]);
}
}
else
if (!individual_execution)
{
// run all tests
DIR *dir = opendir(test_dir);
@@ -1297,7 +1303,8 @@ int main(int argc, char **argv)
if (log_fd) fclose(log_fd);
// keep results up
pressanykey();
if (!autoclose)
pressanykey();
return 0;
}