diff options
author | Sergei Golubchik <serg@mariadb.org> | 2016-09-27 09:21:19 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2016-09-27 09:21:19 +0200 |
commit | 77ce4ead811b606540b9a2cf6d9ce3146a91ab0f (patch) | |
tree | 5dcd215abf7afd125ad5744697565121b954c1b2 /mysys/my_redel.c | |
parent | 677c44f0c37973ad70550d9b807781e688764fae (diff) | |
parent | d61e5260fb9983ea8dff539b23a6d0a150c2065c (diff) | |
download | mariadb-git-77ce4ead811b606540b9a2cf6d9ce3146a91ab0f.tar.gz |
Merge branch '5.5' into 10.0
Diffstat (limited to 'mysys/my_redel.c')
-rw-r--r-- | mysys/my_redel.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/mysys/my_redel.c b/mysys/my_redel.c index 61e61b40791..976fc5a18c3 100644 --- a/mysys/my_redel.c +++ b/mysys/my_redel.c @@ -1,5 +1,5 @@ -/* - Copyright (c) 2000, 2010, Oracle and/or its affiliates +/* Copyright (c) 2000, 2010, Oracle and/or its affiliates + Copyright (c) 2009, 2016, MariaDB This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -49,7 +49,8 @@ int my_redel(const char *org_name, const char *tmp_name, DBUG_PRINT("my",("org_name: '%s' tmp_name: '%s' MyFlags: %lu", org_name,tmp_name,MyFlags)); - if (my_copystat(org_name,tmp_name,MyFlags) < 0) + if (!my_disable_copystat_in_redel && + my_copystat(org_name,tmp_name,MyFlags) < 0) goto end; if (MyFlags & MY_REDEL_MAKE_BACKUP) { |