~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_string.cc

  • Committer: Brian Aker
  • Date: 2010-12-24 05:50:22 UTC
  • mto: (2035.1.1 clean)
  • mto: This revision was merged to the branch mainline in revision 2030.
  • Revision ID: brian@tangent.org-20101224055022-kcdt5djgx3o2z4sx
Merge in BOOL type. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
819
819
  return str+ cs->cset->scan(cs, str, end, MY_SEQ_SPACES) == end;
820
820
}
821
821
 
 
822
std::ostream& operator<<(std::ostream& output, const String &str)
 
823
{
 
824
  output << "String:(";
 
825
  output <<  const_cast<String&>(str).c_str();
 
826
  output << ", ";
 
827
  output << str.length();
 
828
  output << ")";
 
829
 
 
830
  return output;  // for multiple << operators.
 
831
}
 
832
 
822
833
} /* namespace drizzled */
823
834
 
824
835
bool operator==(const drizzled::String &s1, const drizzled::String &s2)