diff options
author | Davi Arnaut <Davi.Arnaut@Sun.COM> | 2010-07-15 08:26:38 -0300 |
---|---|---|
committer | Davi Arnaut <Davi.Arnaut@Sun.COM> | 2010-07-15 08:26:38 -0300 |
commit | 6420d6dc4a819cf5304b69d9270da0fcdbfb60ba (patch) | |
tree | 7448b8d48b397207357910233d7213495e18b77d /mysys/my_copy.c | |
parent | bdab1de458317c2dc7074eb54cec908ca320272e (diff) | |
download | mariadb-git-6420d6dc4a819cf5304b69d9270da0fcdbfb60ba.tar.gz |
WL#5486: Remove code for unsupported platforms
Remove VMS specific code.
Diffstat (limited to 'mysys/my_copy.c')
-rw-r--r-- | mysys/my_copy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mysys/my_copy.c b/mysys/my_copy.c index 96d7547c90e..878aebd3684 100644 --- a/mysys/my_copy.c +++ b/mysys/my_copy.c @@ -106,7 +106,7 @@ int my_copy(const char *from, const char *to, myf MyFlags) #if !defined(__WIN__) res= chown(to, stat_buff.st_uid,stat_buff.st_gid); /* Copy ownership */ #endif -#if !defined(VMS) + if (MyFlags & MY_COPYTIME) { struct utimbuf timep; @@ -114,7 +114,7 @@ int my_copy(const char *from, const char *to, myf MyFlags) timep.modtime = stat_buff.st_mtime; (void) utime((char*) to, &timep); /* last accessed and modified times */ } -#endif + DBUG_RETURN(0); } |