diff options
author | unknown <jani@hynda.mysql.fi> | 2007-07-02 20:45:15 +0300 |
---|---|---|
committer | unknown <jani@hynda.mysql.fi> | 2007-07-02 20:45:15 +0300 |
commit | 631ecaabea7336a8f28367c0d1c291f0433f7e88 (patch) | |
tree | 2eb68f1f6af5e60c4bcdd8fcfa7e14f3650de830 /mysys/my_sync.c | |
parent | cfdd73369c0c2d57908af8dc727de33567fe9e0b (diff) | |
download | mariadb-git-631ecaabea7336a8f28367c0d1c291f0433f7e88.tar.gz |
Merged with mysql-5.1 main tree.
BUILD/compile-pentium-debug-max:
Added definition after macro was removed from main tree. This will
be fixed back in main tree later.
Diffstat (limited to 'mysys/my_sync.c')
-rw-r--r-- | mysys/my_sync.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mysys/my_sync.c b/mysys/my_sync.c index ab3fc89e0d3..ba6964b00d6 100644 --- a/mysys/my_sync.c +++ b/mysys/my_sync.c @@ -145,7 +145,8 @@ int my_sync_dir_by_file(const char *file_name, myf my_flags) { #ifdef NEED_EXPLICIT_SYNC_DIR char dir_name[FN_REFLEN]; - dirname_part(dir_name, file_name); + size_t dir_name_length; + dirname_part(dir_name, file_name, &dir_name_length); return my_sync_dir(dir_name, my_flags); #else return 0; |