~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/internal/my_redel.cc

Merge Monty

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., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */
15
15
 
16
 
#include "mysys/mysys_priv.h"
17
 
#include <mystrings/m_string.h>
18
 
#include "mysys/mysys_err.h"
 
16
#include "drizzled/internal/mysys_priv.h"
 
17
#include "drizzled/internal/m_string.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 */