~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_string.h

  • 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:
395
395
  return str+ cs->cset->scan(cs, str, end, MY_SEQ_SPACES) == end;
396
396
}
397
397
 
398
 
inline
399
 
bool operator==(const String &s1, const String &s2)
400
 
{
401
 
  return stringcmp(&s1,&s2) == 0;
402
 
}
403
 
 
404
 
inline
405
 
bool operator!=(const String &s1, const String &s2)
406
 
{
407
 
  return !(s1 == s2);
408
 
}
 
398
extern "C++" {
 
399
bool operator==(const String &s1, const String &s2);
 
400
bool operator!=(const String &s1, const String &s2);
 
401
};
409
402
 
410
403
#endif /* DRIZZLE_SERVER_SQL_STRING_H */