~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_string.cc

  • Committer: Super-User
  • Date: 2008-11-23 01:08:08 UTC
  • mto: This revision was merged to the branch mainline in revision 602.
  • Revision ID: root@bitters-20081123010808-7cenki9nrcjjdz4d
Fixed solaris build crap.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1082
1082
  std::swap(alloced, s.alloced);
1083
1083
  std::swap(str_charset, s.str_charset);
1084
1084
}
 
1085
 
 
1086
 
 
1087
bool operator==(const String &s1, const String &s2)
 
1088
{
 
1089
  return stringcmp(&s1,&s2) == 0;
 
1090
}
 
1091
 
 
1092
bool operator!=(const String &s1, const String &s2)
 
1093
{
 
1094
  return !(s1 == s2);
 
1095
}
 
1096