summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorunknown <guilhem@gbichot3.local>2006-11-22 15:16:34 +0100
committerunknown <guilhem@gbichot3.local>2006-11-22 15:16:34 +0100
commit4124839eb9f226e261f57e4464124f37321c8d5d (patch)
treeef355b19e63a5ebdcd56d370b52d0d70401649ad /include
parent5c7960965c4c178d3a02f9893ea65b2802b38b8f (diff)
parenta41ac15b960aee306e3464835b05a835fd98771d (diff)
downloadmariadb-git-4124839eb9f226e261f57e4464124f37321c8d5d.tar.gz
Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-maria
into gbichot3.local:/home/mysql_src/mysql-maria
Diffstat (limited to 'include')
-rw-r--r--include/my_sys.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/my_sys.h b/include/my_sys.h
index fc83c583201..3c5b5e6cbf4 100644
--- a/include/my_sys.h
+++ b/include/my_sys.h
@@ -55,6 +55,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_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() */
@@ -622,6 +623,8 @@ extern FILE *my_fdopen(File Filedes,const char *name, int Flags,myf MyFlags);
extern int my_fclose(FILE *fd,myf MyFlags);
extern int my_chsize(File fd,my_off_t newlength, int filler, myf MyFlags);
extern int my_sync(File fd, myf my_flags);
+extern void my_sync_dir(const char *dir_name, myf my_flags);
+extern void my_sync_dir_by_file(const char *file_name, myf my_flags);
extern int my_error _VARARGS((int nr,myf MyFlags, ...));
extern int my_printf_error _VARARGS((uint my_err, const char *format,
myf MyFlags, ...))