diff --git a/uppsrc/Sql/Sqls.h b/uppsrc/Sql/Sqls.h index afc74f965..fee2e6ae8 100644 --- a/uppsrc/Sql/Sqls.h +++ b/uppsrc/Sql/Sqls.h @@ -23,7 +23,7 @@ class SqlRaw : public String, AssignValueTypeNo { public: operator Value() const { return RawValue(*this); } SqlRaw(const Value& q) - : String(IsNull(q) ? NULL : + : String(IsNull(q) ? String() : IsString(q) ? String(q) : String(RawValue::Extract(q))) {} SqlRaw(const String& s) : String(s) {}