forked from qt-creator/qt-creator
Sqlite: Cleanup Sqlite
We don't need the threading anymore, so we removed it. The indexer will be run in its thread anyway, so an extra thread makes the code only more complicated. And we added namespaces. Change-Id: Ibcba306324763285cf653c28bb08122345e5f8da Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
@@ -27,6 +27,8 @@
|
||||
|
||||
#include "sqliteglobal.h"
|
||||
|
||||
namespace Sqlite {
|
||||
|
||||
class SQLITE_EXPORT SqliteAbstractTransaction
|
||||
{
|
||||
public:
|
||||
@@ -35,7 +37,7 @@ public:
|
||||
void commit();
|
||||
|
||||
private:
|
||||
bool isAlreadyCommited = false;
|
||||
bool m_isAlreadyCommited = false;
|
||||
};
|
||||
|
||||
|
||||
@@ -59,3 +61,5 @@ public:
|
||||
SqliteExclusiveTransaction();
|
||||
|
||||
};
|
||||
|
||||
} // namespace Sqlite
|
||||
|
||||
Reference in New Issue
Block a user