~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to sql/tztime.cc

Removed my_vsnprintf and my_snprintf.

Show diffs side-by-side

added added

removed removed

Lines of Context:
914
914
{
915
915
  uint hours= abs((int)(offset / SECS_PER_HOUR));
916
916
  uint minutes= abs((int)(offset % SECS_PER_HOUR / SECS_PER_MIN));
917
 
  ulong length= my_snprintf(name_buff, sizeof(name_buff), "%s%02d:%02d",
918
 
                            (offset>=0) ? "+" : "-", hours, minutes);
 
917
  ulong length= snprintf(name_buff, sizeof(name_buff), "%s%02d:%02d",
 
918
                         (offset>=0) ? "+" : "-", hours, minutes);
919
919
  name.set(name_buff, length, &my_charset_latin1);
920
920
}
921
921