some renaming and clean-up

This commit is contained in:
Guenter Obiltschnig
2007-05-15 18:34:37 +00:00
parent 01bcb63000
commit b9f60b8f5e
44 changed files with 500 additions and 396 deletions

View File

@@ -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)