~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/function/time/from_unixtime.cc

  • Committer: Brian Aker
  • Date: 2011-01-18 00:08:34 UTC
  • mto: (2097.1.1 drizzle-build)
  • mto: This revision was merged to the branch mainline in revision 2098.
  • Revision ID: brian@tangent.org-20110118000834-a1p3mves421202oy
Fix additional output, swaps for the valus.

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
  if (get_date(&time_tmp, 0))
49
49
    return 0;
50
50
 
51
 
  if (str->alloc(MAX_DATE_STRING_REP_LENGTH))
 
51
  if (str->alloc(type::Time::MAX_STRING_LENGTH))
52
52
  {
53
53
    null_value= 1;
54
54
    return 0;