diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2017-05-04 21:25:32 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2017-05-04 21:25:32 +0100 |
commit | b0a5b94ddfec22d587d58959984c184a54c87c41 (patch) | |
tree | 0f64a932385dee39f0608285783f9b338dcf138d /libmysqlpp/embeddedmy-mock.cpp | |
parent | Basics working, could do with a tidy up around mocking (diff) | |
download | libdbpp-mysql-b0a5b94ddfec22d587d58959984c184a54c87c41.tar.bz2 libdbpp-mysql-b0a5b94ddfec22d587d58959984c184a54c87c41.tar.xz libdbpp-mysql-b0a5b94ddfec22d587d58959984c184a54c87c41.zip |
Update to v1.1.x interfaceembedded
Diffstat (limited to 'libmysqlpp/embeddedmy-mock.cpp')
-rw-r--r-- | libmysqlpp/embeddedmy-mock.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libmysqlpp/embeddedmy-mock.cpp b/libmysqlpp/embeddedmy-mock.cpp index 9e66bb3..dfa8cbe 100644 --- a/libmysqlpp/embeddedmy-mock.cpp +++ b/libmysqlpp/embeddedmy-mock.cpp @@ -32,14 +32,14 @@ namespace MySQL { auto path = mockDbPath(); embeddedServer = Server::getMock(path); Connection initialize(embeddedServer.get(), "mysql"); - initialize.execute("CREATE DATABASE " + dbname); + initialize.execute("CREATE DATABASE " + dbname, NULL); } void Mock::DropDatabase() const { Connection initialize(embeddedServer.get(), "mysql"); - initialize.execute("DROP DATABASE " + dbname); + initialize.execute("DROP DATABASE " + dbname, NULL); } boost::filesystem::path |