mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-23 09:04:22 +01:00
db: Add tracking of whether the current transaction is dirty
This commit is contained in:
committed by
neil saitug
parent
097af493dd
commit
09247d4f95
@@ -30,6 +30,10 @@ struct db {
|
||||
char *error;
|
||||
|
||||
struct log *log;
|
||||
|
||||
/* Were there any modifying statements in the current transaction?
|
||||
* Used to bump the data_version in the DB.*/
|
||||
bool dirty;
|
||||
};
|
||||
|
||||
struct db_query {
|
||||
|
||||
Reference in New Issue
Block a user