Sqlite: Export TransactionInterface

Implementing the Database destructor was working around the non exported
TransactionInterface destructor.

Change-Id: Ia53ca95e7dc1141558adf65894b9c120fc88f4de
Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
This commit is contained in:
Marco Bubke
2018-01-30 12:37:19 +01:00
parent 70ab43ca62
commit d36fce4970
3 changed files with 1 additions and 6 deletions

View File

@@ -42,10 +42,6 @@ Database::Database(Utils::PathString &&databaseFilePath, JournalMode journalMode
open(std::move(databaseFilePath));
}
Database::~Database()
{
}
void Database::open()
{
m_databaseBackend.open(m_databaseFilePath, m_openMode);

View File

@@ -48,7 +48,6 @@ public:
Database();
Database(Utils::PathString &&databaseFilePath, JournalMode journalMode=JournalMode::Wal);
~Database();
Database(const Database &) = delete;
bool operator=(const Database &) = delete;

View File

@@ -34,7 +34,7 @@ namespace Sqlite {
class DatabaseBackend;
class Database;
class TransactionInterface
class SQLITE_EXPORT TransactionInterface
{
public:
TransactionInterface() = default;