diff options
author | Alexey Botchkov <holyfoot@mysql.com> | 2009-11-11 05:12:56 +0400 |
---|---|---|
committer | Alexey Botchkov <holyfoot@mysql.com> | 2009-11-11 05:12:56 +0400 |
commit | 96817d2483b52ffa7609bf6b9f4a1ba962de39e0 (patch) | |
tree | baf1a6f768424169e3b478832169830b07ee0616 /include/my_sys.h | |
parent | 52beed00e238b6770cd3f9138d962a32d714137e (diff) | |
download | mariadb-git-96817d2483b52ffa7609bf6b9f4a1ba962de39e0.tar.gz |
Bug#47126 equal flag values causing unexpected behaviour
Although the MY_SYNC_DIR flag supported in my_create(), my_delete(),
my_rename() and my_symlink(), this feature is not used in the
mysql code now. So technically we can declare the MY_SYNC_DIR as 0,
but I decided to assign a new value for it as it's probably safer and
worths nothing.
per-file comments:
include/my_sys.h
Bug#47126 equal flag values causing unexpected behaviour
assign unique value for the MY_SYNC_DIR
Diffstat (limited to 'include/my_sys.h')
-rw-r--r-- | include/my_sys.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/my_sys.h b/include/my_sys.h index 9121f0f249e..3c8df28b151 100644 --- a/include/my_sys.h +++ b/include/my_sys.h @@ -60,7 +60,7 @@ extern int NEAR my_errno; /* Last error in mysys */ #define MY_WME 16 /* Write message on error */ #define MY_WAIT_IF_FULL 32 /* Wait and try again if disk full error */ #define MY_IGNORE_BADFD 32 /* my_sync: ignore 'bad descriptor' errors */ -#define MY_SYNC_DIR 1024 /* my_create/delete/rename: sync directory */ +#define MY_SYNC_DIR 8192 /* my_create/delete/rename: sync directory */ #define MY_RAID 64 /* Support for RAID */ #define MY_FULL_IO 512 /* For my_read - loop intil I/O is complete */ #define MY_DONT_CHECK_FILESIZE 128 /* Option to init_io_cache() */ |