MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:Alexey Botchkov Date:November 11 2009 1:20am
Subject:bzr commit into mysql-5.5-next-mr branch (holyfoot:2916) Bug#47126
View as plain text  
#At file:///home/hf/work/mysql_common/47126/ based on revid:mikael@stripped

 2916 Alexey Botchkov	2009-11-11
      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

    modified:
      include/my_sys.h
=== modified file 'include/my_sys.h'
--- a/include/my_sys.h	2009-11-02 20:05:42 +0000
+++ b/include/my_sys.h	2009-11-11 01:12:56 +0000
@@ -60,7 +60,7 @@ extern int NEAR my_errno;		/* Last error
 #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() */


Attachment: [text/bzr-bundle] bzr/holyfoot@mysql.com-20091111011256-6roddvb0q5grjjva.bundle
Thread
bzr commit into mysql-5.5-next-mr branch (holyfoot:2916) Bug#47126Alexey Botchkov11 Nov