GH #499: Poco::Data::Statement::execute returns wrong value when zero results (ODBC)

This commit is contained in:
Aleksandar Fabijanic
2014-12-17 23:36:26 -06:00
parent 55dffd864f
commit 86b81bfcbd
24 changed files with 80 additions and 18 deletions

View File

@@ -46,7 +46,7 @@ protected:
std::size_t columnsReturned() const;
/// Returns number of columns returned by query.
std::size_t affectedRowCount() const;
int affectedRowCount() const;
/// Returns the number of affected rows.
/// Used to find out the number of rows affected by insert or update.
@@ -101,7 +101,7 @@ inline AbstractBinding::BinderPtr TestStatementImpl::binder()
}
inline std::size_t TestStatementImpl::affectedRowCount() const
inline int TestStatementImpl::affectedRowCount() const
{
return 0;
}