~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/my_copy.c

  • Committer: Monty
  • Date: 2008-10-02 14:34:07 UTC
  • Revision ID: mordred@scylla.inaugust.com-20081002143407-id6de0nl3trrna4j
Fixed some max/min misses.

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
};
29
29
#endif
30
30
 
31
 
#include <drizzled/util/test.h>
32
31
 
33
32
/*
34
33
  int my_copy(const char *from, const char *to, myf MyFlags)
51
50
 
52
51
int my_copy(const char *from, const char *to, myf MyFlags)
53
52
{
54
 
  uint32_t Count;
 
53
  uint Count;
55
54
  bool new_file_stat= 0; /* 1 if we could stat "to" */
56
55
  int create_flag;
57
56
  File from_file,to_file;
58
 
  unsigned char buff[IO_SIZE];
 
57
  uchar buff[IO_SIZE];
59
58
  struct stat stat_buff,new_stat_buff;
60
59
 
61
60
  from_file=to_file= -1;