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/my_open.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/my_open.c')
-rw-r--r-- | mysys/my_open.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mysys/my_open.c b/mysys/my_open.c index 98733266d1b..aadf197d2cb 100644 --- a/mysys/my_open.c +++ b/mysys/my_open.c @@ -19,7 +19,7 @@ #include "mysys_priv.h" #include "mysys_err.h" #include <errno.h> -#if defined(MSDOS) || defined(__WIN__) +#if defined(MSDOS) || defined(__WIN__) || defined(__EMX__) #include <share.h> #endif @@ -34,7 +34,7 @@ File my_open(const char *FileName, int Flags, myf MyFlags) DBUG_ENTER("my_open"); DBUG_PRINT("my",("Name: '%s' Flags: %d MyFlags: %d", FileName, Flags, MyFlags)); -#if defined(MSDOS) || defined(__WIN__) +#if defined(MSDOS) || defined(__WIN__) || defined(__EMX__) if (Flags & O_SHARE) fd = sopen((my_string) FileName, (Flags & ~O_SHARE) | O_BINARY, SH_DENYNO); else |