~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/my_redel.cc

  • Committer: Monty Taylor
  • Date: 2009-12-23 08:01:21 UTC
  • mto: This revision was merged to the branch mainline in revision 1253.
  • Revision ID: mordred@inaugust.com-20091223080121-iveugdrewkp7iqyi
Oy. Bigger change than I normally like - but this stuff is all intertwined.
Moved a bunch of things to public drizzled/ area. Split some files. Made some
convenience libs. EVENTUALLY, some of this will be able to be re-factored, but
for now I'm ok with erring on the side of too many files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
 
16
16
#include "mysys/mysys_priv.h"
17
17
#include <mystrings/m_string.h>
18
 
#include "mysys/mysys_err.h"
 
18
#include "drizzled/my_error.h"
19
19
#if defined(HAVE_UTIME_H)
20
20
#include <utime.h>
21
21
#elif defined(HAVE_SYS_UTIME_H)
78
78
 
79
79
  if (stat((char*) from, &statbuf))
80
80
  {
81
 
    my_errno=errno;
 
81
    errno=errno;
82
82
    if (MyFlags & (MY_FAE+MY_WME))
83
83
      my_error(EE_STAT, MYF(ME_BELL+ME_WAITTANG),from,errno);
84
84
    return -1;                          /* Can't get stat on input file */