*Sql: GCC compile fix

git-svn-id: svn://ultimatepp.org/upp/trunk@2671 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2010-09-08 11:41:59 +00:00
parent 944c637304
commit 513db5ba87

View file

@ -23,7 +23,7 @@ class SqlRaw : public String, AssignValueTypeNo<SqlRaw, SQLRAW_V> {
public:
operator Value() const { return RawValue<SqlRaw>(*this); }
SqlRaw(const Value& q)
: String(IsNull(q) ? NULL :
: String(IsNull(q) ? String() :
IsString(q) ? String(q) :
String(RawValue<SqlRaw>::Extract(q))) {}
SqlRaw(const String& s) : String(s) {}