~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/drizzle_time.cc

  • Committer: Brian Aker
  • Date: 2010-12-20 13:04:13 UTC
  • mto: (2015.1.1 clean)
  • mto: This revision was merged to the branch mainline in revision 2018.
  • Revision ID: brian@tangent.org-20101220130413-a1cwpcdk3e10vtcg
Adds additional testing, and fixes CAST again.

Show diffs side-by-side

added added

removed removed

Lines of Context:
600
600
    date[4]= (uint32_t) value;
601
601
  }
602
602
  else
 
603
  {
603
604
    date[4]=0;
 
605
  }
604
606
 
605
607
  /* Check for exponent part: E<gigit> | E<sign><digit> */
606
608
  /* (may occur as result of %g formatting of time value) */
646
648
 
647
649
  /* Check if the value is valid and fits into DRIZZLE_TIME range */
648
650
  if (check_time_range(l_time, warning))
 
651
  {
649
652
    return 1;
 
653
  }
650
654
 
651
655
  /* Check if there is garbage at end of the DRIZZLE_TIME specification */
652
656
  if (str != end)