~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field.cc

  • Committer: Brian Aker
  • Date: 2010-12-25 04:38:28 UTC
  • mto: This revision was merged to the branch mainline in revision 2031.
  • Revision ID: brian@tangent.org-20101225043828-fz83ma79dvqaxvri
Update for moving DRIZZLE_TIME to type::Time

Show diffs side-by-side

added added

removed removed

Lines of Context:
946
946
  return copy->length+ store_length;
947
947
}
948
948
 
949
 
bool Field::get_date(DRIZZLE_TIME *ltime,uint32_t fuzzydate)
 
949
bool Field::get_date(type::Time *ltime,uint32_t fuzzydate)
950
950
{
951
951
  char buff[40];
952
952
  String tmp(buff,sizeof(buff),&my_charset_bin),*res;
959
959
  return 0;
960
960
}
961
961
 
962
 
bool Field::get_time(DRIZZLE_TIME *ltime)
 
962
bool Field::get_time(type::Time *ltime)
963
963
{
964
964
  char buff[40];
965
965
  String tmp(buff,sizeof(buff),&my_charset_bin),*res;
972
972
  return 0;
973
973
}
974
974
 
975
 
int Field::store_time(DRIZZLE_TIME *ltime, enum enum_drizzle_timestamp_type)
 
975
int Field::store_time(type::Time *ltime, enum enum_drizzle_timestamp_type)
976
976
{
977
977
  char buff[MAX_DATE_STRING_REP_LENGTH];
978
978
  uint32_t length= (uint32_t) my_TIME_to_str(ltime, buff);