diff options
| author | 2025-01-16 01:58:22 -0500 | |
|---|---|---|
| committer | 2025-01-16 01:58:22 -0500 | |
| commit | a5ae79be08125b31bb6b8d9703090a98c6fd2e30 (patch) | |
| tree | 569ee612c9de85b2bb423efa485688ef1d43852e /SQLiteStudio3/coreSQLiteStudio/db/invaliddb.h | |
| parent | 21966b4f924b0a1933d9662e75ff253bd154fdb7 (diff) | |
| parent | 81a21e6ce040e7740de86340c8ea4dba30e69bc3 (diff) | |
Update upstream source from tag 'upstream/3.4.13+dfsg'
Update to upstream version '3.4.13+dfsg'
with Debian dir bf81ee0219cb8e4562a4751df17d75814772d2d6
Diffstat (limited to 'SQLiteStudio3/coreSQLiteStudio/db/invaliddb.h')
| -rw-r--r-- | SQLiteStudio3/coreSQLiteStudio/db/invaliddb.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/SQLiteStudio3/coreSQLiteStudio/db/invaliddb.h b/SQLiteStudio3/coreSQLiteStudio/db/invaliddb.h index 2505079..edb2e06 100644 --- a/SQLiteStudio3/coreSQLiteStudio/db/invaliddb.h +++ b/SQLiteStudio3/coreSQLiteStudio/db/invaliddb.h @@ -33,9 +33,9 @@ class API_EXPORT InvalidDb : public Db quint32 asyncExec(const QString& query, const QHash<QString, QVariant>& args, Flags flags); quint32 asyncExec(const QString& query, Flags flags); SqlQueryPtr prepare(const QString& query); - bool begin(); - bool commit(); - bool rollback(); + bool begin(bool noLock = false); + bool commit(bool noLock = false); + bool rollback(bool noLock = false); void asyncInterrupt(); bool isReadable(); bool isWritable(); @@ -63,6 +63,7 @@ class API_EXPORT InvalidDb : public Db bool loadExtension(const QString& filePath, const QString& initFunc); bool isComplete(const QString& sql) const; Db* clone() const; + bool isTransactionActive() const; public slots: bool open(); |
