summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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