diff --git a/include/sqlpp11/text.h b/include/sqlpp11/text.h index 7e7d9ad7..58affcfc 100644 --- a/include/sqlpp11/text.h +++ b/include/sqlpp11/text.h @@ -237,13 +237,12 @@ namespace sqlpp { if (e.is_null() and not null_is_trivial_value_t::value) { - os << "NULL"; + return os << "NULL"; } else { - os << e.value(); + return os << e.value(); } - return serialize(e, os); } using blob = text;