dbms: addition to prev. revision [#METR-17281].

This commit is contained in:
Alexey Milovidov 2015-07-16 23:16:42 +03:00
parent 4920b63fd1
commit 9c69ec44a9

View File

@ -27,7 +27,7 @@ public:
void serializeText(const Field & field, WriteBuffer & ostr) const
{
writeText(get<typename NearestFieldType<FieldType>::Type>(field), ostr);
writeText(static_cast<FieldType>(get<typename NearestFieldType<FieldType>::Type>(field)), ostr);
}
inline void deserializeText(Field & field, ReadBuffer & istr) const;