~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/time.cc

Merged build changes from Antony.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
/* Functions to handle date and time */
18
18
 
19
19
#include "mysql_priv.h"
20
 
#include <m_ctype.h>
21
20
 
22
21
 
23
22
        /* Some functions to calculate dates */
722
721
  const char *type_str;
723
722
  CHARSET_INFO *cs= &my_charset_latin1;
724
723
  char buff[128];
725
 
  String str(buff,(uint32) sizeof(buff), system_charset_info);
 
724
  String str(buff,(uint32_t) sizeof(buff), system_charset_info);
726
725
  str.copy(str_val, str_length, system_charset_info);
727
726
  str[str_length]= 0;               // Ensure we have end 0 for snprintf
728
727