summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libmysqlpp/my-mock.cpp2
-rw-r--r--libmysqlpp/unittests/testmysql.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/libmysqlpp/my-mock.cpp b/libmysqlpp/my-mock.cpp
index 19f2058..3c03ba8 100644
--- a/libmysqlpp/my-mock.cpp
+++ b/libmysqlpp/my-mock.cpp
@@ -13,7 +13,7 @@ Mock::Mock(const std::string & master, const std::string & name, const std::vect
PlaySchemaScripts(ss);
}
-AdHocFormatter(MockConnStr, "options=p2testmysql;database=%?");
+AdHocFormatter(MockConnStr, "options=libdbpp;database=%?");
DB::ConnectionPtr
Mock::openConnection() const
{
diff --git a/libmysqlpp/unittests/testmysql.cpp b/libmysqlpp/unittests/testmysql.cpp
index 6fd4d34..4691a28 100644
--- a/libmysqlpp/unittests/testmysql.cpp
+++ b/libmysqlpp/unittests/testmysql.cpp
@@ -15,7 +15,7 @@
class StandardMockDatabase : public DB::PluginMock<MySQL::Mock> {
public:
StandardMockDatabase() : DB::PluginMock<MySQL::Mock>("mysqlmock", {
- rootDir / "mysqlschema.sql" }, "options=p2testmysql")
+ rootDir / "mysqlschema.sql" }, "options=libdbpp")
{
}
};