~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/internal/my_redel.cc

edit

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
   along with this program; if not, write to the Free Software
14
14
   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA */
15
15
 
16
 
#include <config.h>
 
16
#include "config.h"
17
17
 
18
 
#include <drizzled/internal/my_sys.h>
19
 
#include <drizzled/internal/m_string.h>
20
 
#include <drizzled/error.h>
 
18
#include "drizzled/internal/my_sys.h"
 
19
#include "drizzled/internal/m_string.h"
 
20
#include "drizzled/error.h"
21
21
#if defined(HAVE_UTIME_H)
22
22
#include <utime.h>
23
23
#elif defined(HAVE_SYS_UTIME_H)
65
65
                  MyFlags))
66
66
      goto end;
67
67
  }
68
 
  else if (my_delete(org_name, MyFlags))
 
68
  else if (my_delete_allow_opened(org_name, MyFlags))
69
69
      goto end;
70
70
  if (my_rename(tmp_name,org_name,MyFlags))
71
71
    goto end;