summaryrefslogtreecommitdiff
path: root/include/my_sys.h
diff options
context:
space:
mode:
authorAlexey Botchkov <holyfoot@mysql.com>2009-11-11 05:12:56 +0400
committerAlexey Botchkov <holyfoot@mysql.com>2009-11-11 05:12:56 +0400
commit96817d2483b52ffa7609bf6b9f4a1ba962de39e0 (patch)
treebaf1a6f768424169e3b478832169830b07ee0616 /include/my_sys.h
parent52beed00e238b6770cd3f9138d962a32d714137e (diff)
downloadmariadb-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.h2
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() */