mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-28 03:20:11 +01:00
some renaming and clean-up
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
//
|
||||
// Statement.cpp
|
||||
//
|
||||
// $Id: //poco/Main/Data/src/Statement.cpp#8 $
|
||||
// $Id: //poco/Main/Data/src/Statement.cpp#9 $
|
||||
//
|
||||
// Library: Data
|
||||
// Package: DataCore
|
||||
@@ -37,6 +37,7 @@
|
||||
#include "Poco/Data/Statement.h"
|
||||
#include "Poco/Data/DataException.h"
|
||||
#include "Poco/Data/Extraction.h"
|
||||
#include "Poco/Data/Session.h"
|
||||
#include "Poco/Any.h"
|
||||
#include "Poco/Tuple.h"
|
||||
#include <algorithm>
|
||||
@@ -54,6 +55,14 @@ Statement::Statement(StatementImpl* pImpl):
|
||||
}
|
||||
|
||||
|
||||
Statement::Statement(Session& session):
|
||||
_executed(false)
|
||||
{
|
||||
Statement stmt(session.createStatementImpl());
|
||||
swap(stmt);
|
||||
}
|
||||
|
||||
|
||||
Statement::Statement(const Statement& stmt):
|
||||
_executed(stmt._executed),
|
||||
_ptr(stmt._ptr)
|
||||
|
||||
Reference in New Issue
Block a user