~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/drizzle_time.cc

  • Committer: Brian Aker
  • Date: 2010-12-18 07:46:49 UTC
  • mto: (2015.1.1 clean)
  • mto: This revision was merged to the branch mainline in revision 2018.
  • Revision ID: brian@tangent.org-20101218074649-0zz1lf2tbhopfugm
Adding in time type.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1020
1020
    number of characters written to 'to'
1021
1021
*/
1022
1022
 
1023
 
static int my_time_to_str(const DRIZZLE_TIME *l_time, char *to)
 
1023
int my_time_to_str(const DRIZZLE_TIME *l_time, char *to)
1024
1024
{
1025
1025
  uint32_t extra_hours= 0;
1026
1026
  return sprintf(to, "%s%02u:%02u:%02u",