~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item.cc

  • Committer: Brian Aker
  • Date: 2011-01-22 07:20:17 UTC
  • mfrom: (2098.3.4 timestamp)
  • Revision ID: brian@tangent.org-20110122072017-1y8v3z1z3v9ml6tb
MergeĀ inĀ timestamp.

Show diffs side-by-side

added added

removed removed

Lines of Context:
479
479
    {
480
480
      int64_t value= val_int();
481
481
      int was_cut;
482
 
      if (number_to_datetime(value, ltime, fuzzydate, &was_cut) == -1L)
 
482
      type::datetime_t date_value;
 
483
      ltime->convert(date_value, value, fuzzydate, &was_cut);
 
484
      if (not type::is_valid(date_value))
483
485
      {
484
486
        char buff[22], *end;
485
487
        end= internal::int64_t10_to_str(value, buff, -10);