Dynamic::Var null support

This commit is contained in:
Aleksandar Fabijanic
2012-08-24 02:03:08 +00:00
parent ae45a2d311
commit 5658d4495f
2 changed files with 23 additions and 2 deletions

View File

@@ -505,6 +505,8 @@ void AbstractBinder::bind(std::size_t pos, const Poco::Dynamic::Var& val, Direct
bind(pos, val.extract<Time>(), dir);
else if(type == typeid(BLOB))
bind(pos, val.extract<BLOB>(), dir);
else if(type == typeid(void))
bind(pos, Keywords::null, dir);
#ifndef POCO_LONG_IS_64_BIT
else if(type == typeid(long))
bind(pos, val.extract<long>(), dir);