~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field.cc

  • Committer: Brian Aker
  • Date: 2011-02-20 01:01:53 UTC
  • mto: This revision was merged to the branch mainline in revision 2187.
  • Revision ID: brian@tangent.org-20110220010153-21tep673kjrm0ix1
Further commit const on field.

Show diffs side-by-side

added added

removed removed

Lines of Context:
746
746
  return 0;
747
747
}
748
748
 
749
 
bool Field::is_null(ptrdiff_t row_offset)
 
749
bool Field::is_null(ptrdiff_t row_offset) const
750
750
{
751
751
  return null_ptr ?
752
752
    (null_ptr[row_offset] & null_bit ? true : false) :
1030
1030
  return false;
1031
1031
}
1032
1032
 
1033
 
bool Field::get_time(type::Time &ltime)
 
1033
bool Field::get_time(type::Time &ltime) const
1034
1034
{
1035
1035
  char buff[type::Time::MAX_STRING_LENGTH];
1036
1036
  String tmp(buff,sizeof(buff),&my_charset_bin),*res;