summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2015-09-26 20:02:51 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2015-09-26 20:35:20 +0100
commit29d8c515f886ddeae329fc2ac772f5d3a2ab32c8 (patch)
treedd29e50b2d74ca331705d784ef8154a2f9b343b4
parentRestore mock database support (diff)
downloadproject2-29d8c515f886ddeae329fc2ac772f5d3a2ab32c8.tar.bz2
project2-29d8c515f886ddeae329fc2ac772f5d3a2ab32c8.tar.xz
project2-29d8c515f886ddeae329fc2ac772f5d3a2ab32c8.zip
Compat fix
-rw-r--r--project2/sql/rdbmsDataSource.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/project2/sql/rdbmsDataSource.cpp b/project2/sql/rdbmsDataSource.cpp
index 1e2778b..e1091a3 100644
--- a/project2/sql/rdbmsDataSource.cpp
+++ b/project2/sql/rdbmsDataSource.cpp
@@ -251,7 +251,7 @@ RdbmsDataSource::ConnectionInfo::ConnectionInfo(ScriptNodePtr node) :
DB::Connection *
RdbmsDataSource::ConnectionInfo::connect() const
{
- return DB::ConnectionFactory::create(typeId, dsn);
+ return DB::ConnectionFactory::createNew(typeId, dsn);
}
bool