diff options
author | monty@donna.mysql.com <> | 2000-11-28 04:47:47 +0200 |
---|---|---|
committer | monty@donna.mysql.com <> | 2000-11-28 04:47:47 +0200 |
commit | 74e7ffe9872e74f3ac1ae4e93a2ef1b0d2c97c03 (patch) | |
tree | e3d40dd7c6a7e86bd2388da19d59d5a372bf7bb8 /mysys/default.c | |
parent | ad2e43c7d6f4b7bbe5b92830ef11856c7d18b6b5 (diff) | |
download | mariadb-git-74e7ffe9872e74f3ac1ae4e93a2ef1b0d2c97c03.tar.gz |
New thr_alarm struct for better integration with OS2
Run bootstrap in separate thread
Fix bug in FLUSH TABLES table_name
Diffstat (limited to 'mysys/default.c')
-rw-r--r-- | mysys/default.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/mysys/default.c b/mysys/default.c index e7e2e7cc8ff..6518fb5816f 100644 --- a/mysys/default.c +++ b/mysys/default.c @@ -146,6 +146,12 @@ void load_defaults(const char *conf_file, const char **groups, &group)) goto err; #endif +#ifdef __EMX__ + if (getenv("ETC") && + search_default_file(&args, &alloc, getenv("ETC"), conf_file, + default_ext, &group)) + goto err; +#endif for (dirs=default_directories ; *dirs; dirs++) { int error=0; @@ -357,6 +363,10 @@ void print_defaults(const char *conf_file, const char **groups) GetWindowsDirectory(name,sizeof(name)); printf("%s\\%s%s ",name,conf_file,have_ext ? "" : windows_ext); #endif +#ifdef __EMX__ + if (getenv("ETC")) + printf("%s\\%s%s ", getenv("ETC"), conf_file, default_ext); +#endif for (dirs=default_directories ; *dirs; dirs++) { if (**dirs) |