1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-28 05:00:58 +01:00

Fixed referrer issue

This commit is contained in:
Wouter den Breejen 2007-08-03 14:46:53 +00:00
parent 7d91f62b71
commit 5e0716bbbb
5 changed files with 219 additions and 165 deletions

View file

@ -618,20 +618,6 @@ bool Database::queryStateReferences(const Transaction & txn, TableId references_
return queryStrings(txn, references_table, key, references); //now that we have the key, we can query the references
}
void Database::setStateReferrers(const Transaction & txn, TableId referrers_table, TableId revisions_table,
const Path & statePath, const Strings & referrers, int revision)
{
//Exactly the same as the setStateReferences
setStateReferences(txn, referrers_table, revisions_table, statePath, referrers, revision);
}
bool Database::queryStateReferrers(const Transaction & txn, TableId referrers_table, TableId revisions_table,
const Path & statePath, Strings & referrers, int revision, int timestamp)
{
//Exactly the same as queryStateReferences
return queryStateReferences(txn, referrers_table, revisions_table, statePath, referrers, revision, timestamp);
}
void Database::setStateRevisions(const Transaction & txn, TableId revisions_table, TableId snapshots_table,
const RevisionClosure & revisions)
{