~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/message/statement_transform.cc

  • Committer: Brian Aker
  • Date: 2010-12-18 02:08:04 UTC
  • mto: (2015.1.1 clean)
  • mto: This revision was merged to the branch mainline in revision 2018.
  • Revision ID: brian@tangent.org-20101218020804-mh3lga9uv7jlajwy
Merge in first pass of TIME type (closer to EPOCH time).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1380
1380
  case Table::Field::DATETIME:
1381
1381
    destination.append(" DATETIME",  9);
1382
1382
    break;
 
1383
  case Table::Field::TIME:
 
1384
    destination.append(" TIME",  9);
 
1385
    break;
1383
1386
  }
1384
1387
 
1385
1388
  if (field.type() == Table::Field::INTEGER || 
1500
1503
    return Table::Field::BIGINT;
1501
1504
  case DRIZZLE_TYPE_DATETIME:
1502
1505
    return Table::Field::DATETIME;
 
1506
  case DRIZZLE_TYPE_TIME:
 
1507
    return Table::Field::TIME;
1503
1508
  case DRIZZLE_TYPE_DATE:
1504
1509
    return Table::Field::DATE;
1505
1510
  case DRIZZLE_TYPE_VARCHAR: