mirror of
https://github.com/pocoproject/poco.git
synced 2026-01-05 20:52:33 +01:00
* fix(Poco::Data): fixes and improvements #4198 * chore: remove inadvertently commited garbage file * fix(SQLite): SQLChannel tests #4198 * fix(Data::SessionPool): Improve Data::SessionPool thread safety #4206
This commit is contained in:
committed by
GitHub
parent
de04b9eac7
commit
5131fe1c15
@@ -244,7 +244,8 @@ Row& RecordSet::row(std::size_t pos)
|
||||
|
||||
std::size_t RecordSet::rowCount() const
|
||||
{
|
||||
poco_assert (extractions().size());
|
||||
if (extractions().size() == 0) return 0;
|
||||
|
||||
std::size_t rc = subTotalRowCount();
|
||||
if (!isFiltered()) return rc;
|
||||
|
||||
@@ -258,6 +259,12 @@ std::size_t RecordSet::rowCount() const
|
||||
}
|
||||
|
||||
|
||||
std::size_t RecordSet::affectedRowCount() const
|
||||
{
|
||||
return Statement::affectedRowCount();
|
||||
}
|
||||
|
||||
|
||||
bool RecordSet::isAllowed(std::size_t row) const
|
||||
{
|
||||
if (!isFiltered()) return true;
|
||||
|
||||
Reference in New Issue
Block a user