* BUGFIX: SQLiteStatement was return affected rows even when there were none

* Allows binding of null Poco::Any.
This commit is contained in:
Rangel Reale
2012-11-11 11:54:38 -02:00
parent c867a80520
commit 74cb607471
2 changed files with 4 additions and 2 deletions

View File

@@ -458,6 +458,8 @@ void AbstractBinder::bind(std::size_t pos, const Any& val, Direction dir)
bind(pos, RefAnyCast<Time>(val), dir);
else if(type == typeid(BLOB))
bind(pos, RefAnyCast<BLOB>(val), dir);
else if(type == typeid(void))
bind(pos, Keywords::null, dir);
#ifndef POCO_LONG_IS_64_BIT
else if(type == typeid(long))
bind(pos, RefAnyCast<long>(val), dir);