forked from lix-project/lix
This commit is contained in:
parent
9cda616949
commit
2b20318b0e
|
@ -803,8 +803,6 @@ void LocalStore::invalidatePath(const Path & path)
|
||||||
{
|
{
|
||||||
debug(format("invalidating path `%1%'") % path);
|
debug(format("invalidating path `%1%'") % path);
|
||||||
|
|
||||||
SQLiteTxn txn(db);
|
|
||||||
|
|
||||||
SQLiteStmtUse use(stmtInvalidatePath);
|
SQLiteStmtUse use(stmtInvalidatePath);
|
||||||
|
|
||||||
stmtInvalidatePath.bind(path);
|
stmtInvalidatePath.bind(path);
|
||||||
|
@ -814,8 +812,6 @@ void LocalStore::invalidatePath(const Path & path)
|
||||||
|
|
||||||
/* Note that the foreign key constraints on the Refs table take
|
/* Note that the foreign key constraints on the Refs table take
|
||||||
care of deleting the references entries for `path'. */
|
care of deleting the references entries for `path'. */
|
||||||
|
|
||||||
txn.commit();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue