SqlBinary changed to work as SqlCompile type -> it now should work in PGSQL too

git-svn-id: svn://ultimatepp.org/upp/trunk@1232 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2009-05-25 08:30:49 +00:00
parent b4fa5709a8
commit 951d74e221
5 changed files with 64 additions and 7 deletions

View file

@ -539,7 +539,7 @@ String HexString(const byte *s, int count, int sep)
String HexString(const String& s, int sep)
{
return HexString(s, s.GetCount(), sep);
return HexString(~s, s.GetCount(), sep);
}
String NormalizeSpaces(const char *s)

View file

@ -35,6 +35,8 @@ String Encode64(const String& s);
String Decode64(const String& s);
String HexString(const byte *s, int count, int sep = INT_MAX);
inline String HexString(const char *s, int count, int sep = INT_MAX) { return HexString((byte *)s, count, sep); }
inline String HexString(const void *s, int count, int sep = INT_MAX) { return HexString((byte *)s, count, sep); }
String HexString(const String& s, int sep = INT_MAX);
#ifdef PLATFORM_WINCE