mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-28 11:31:53 +01:00
final Data changes
This commit is contained in:
@@ -58,8 +58,7 @@ Statement::Statement(StatementImpl* pImpl):
|
||||
Statement::Statement(Session& session):
|
||||
_executed(false)
|
||||
{
|
||||
Statement stmt(session.createStatementImpl());
|
||||
swap(stmt);
|
||||
reset(session);
|
||||
}
|
||||
|
||||
|
||||
@@ -107,6 +106,14 @@ bool Statement::done()
|
||||
}
|
||||
|
||||
|
||||
Statement& Statement::reset(Session& session)
|
||||
{
|
||||
Statement stmt(session.createStatementImpl());
|
||||
swap(stmt);
|
||||
return *this;
|
||||
}
|
||||
|
||||
|
||||
void now(Statement& statement)
|
||||
{
|
||||
statement.execute();
|
||||
|
||||
Reference in New Issue
Block a user