mirror of
https://github.com/pocoproject/poco.git
synced 2025-02-21 06:37:42 +01:00
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:
parent
5a5e8584f9
commit
95d38c8355
@ -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
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user