diff Framework/MySQL/MySQLDatabase.h @ 22:1e9bad493475

prevent running unit tests on a non-existing db
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 11 Jul 2018 14:39:59 +0200
parents 9e419261f1c9
children b2ff1cd2907a
line wrap: on
line diff
--- a/Framework/MySQL/MySQLDatabase.h	Tue Jul 10 14:33:05 2018 +0200
+++ b/Framework/MySQL/MySQLDatabase.h	Wed Jul 11 14:39:59 2018 +0200
@@ -72,6 +72,9 @@
     bool DoesTableExist(MySQLTransaction& transaction,
                         const std::string& name);
 
+    bool DoesDatabaseExist(MySQLTransaction& transaction,
+                           const std::string& name);
+
     virtual Dialect GetDialect() const
     {
       return Dialect_MySQL;