~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to sql/item_timefunc.cc

Removed my_vsnprintf and my_snprintf.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2353
2353
    if (res->length() > (length= (uint32) res->charpos(cast_length)))
2354
2354
    {                                           // Safe even if const arg
2355
2355
      char char_type[40];
2356
 
      my_snprintf(char_type, sizeof(char_type), "%s(%lu)",
2357
 
                  cast_cs == &my_charset_bin ? "BINARY" : "CHAR",
2358
 
                  (ulong) length);
 
2356
      snprintf(char_type, sizeof(char_type), "%s(%lu)",
 
2357
               cast_cs == &my_charset_bin ? "BINARY" : "CHAR",
 
2358
               (ulong) length);
2359
2359
 
2360
2360
      if (!res->alloced_length())
2361
2361
      {                                         // Don't change const str