- SQL logging channel and archiving strategy

- row formatting refactored
- affected row count for insert, delete and update returned from Statement::execute()
- internal SQL string formatting capability using Poco::format()
This commit is contained in:
Aleksandar Fabijanic
2008-01-12 18:25:27 +00:00
parent b57f579d16
commit 9e8e627347
63 changed files with 2556 additions and 337 deletions

View File

@@ -65,6 +65,10 @@ public:
protected:
Poco::UInt32 columnsReturned() const;
/// Returns number of columns returned by query.
Poco::UInt32 affectedRowCount() const;
/// Returns the number of affected rows.
/// Used to find out the number of rows affected by insert or update.
const MetaColumn& metaColumn(Poco::UInt32 pos) const;
/// Returns column meta data.
@@ -113,6 +117,12 @@ inline AbstractBinder& TestStatementImpl::binder()
}
inline Poco::UInt32 TestStatementImpl::affectedRowCount() const
{
return 0;
}
} } } // namespace Poco::Data::Test