fixed GH #2970: Poco::Data::TypeHandler<Poco::Nullable<T>>::prepare() must prepare with underlying type, not Poco::Data::Keywords::null

This commit is contained in:
Günter Obiltschnig 2020-04-01 13:48:27 +02:00
parent 5a5e8584f9
commit 95d38c8355

View File

@ -272,7 +272,7 @@ public:
poco_assert_dbg (!pPreparator.isNull());
if (obj.isNull())
{
pPreparator->prepare(pos++, Poco::Data::Keywords::null);
pPreparator->prepare(pos++, T());
}
else
{
@ -292,7 +292,7 @@ public:
if (pExt->extract(pos++, val))
{
obj = val;
obj = std::move(val);
}
else
{