From e44fe507b9fb799080610c8b011673b3fee1a8fe Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 3 Feb 2019 20:23:23 +0000 Subject: Remove p2 reference from mock names --- libmysqlpp/my-mock.cpp | 2 +- libmysqlpp/unittests/testmysql.cpp | 2 +- 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 { public: StandardMockDatabase() : DB::PluginMock("mysqlmock", { - rootDir / "mysqlschema.sql" }, "options=p2testmysql") + rootDir / "mysqlschema.sql" }, "options=libdbpp") { } }; -- cgit v1.2.3