mirror of
https://github.com/NixOS/nix.git
synced 2025-11-27 20:51:00 +01:00
Fixed remote issues
This commit is contained in:
parent
35e239af33
commit
ed55982085
11 changed files with 57 additions and 56 deletions
|
|
@ -383,14 +383,12 @@ void Database::setString(const Transaction & txn, TableId table,
|
|||
const string & key, const string & data)
|
||||
{
|
||||
checkInterrupt();
|
||||
printMsg(lvlError, format("SS: '%1%'") % data);
|
||||
try {
|
||||
Db * db = getDb(table);
|
||||
Dbt kt((void *) key.c_str(), key.length());
|
||||
Dbt dt((void *) data.c_str(), data.length());
|
||||
db->put(txn.txn, &kt, &dt, 0);
|
||||
} catch (DbException e) { rethrow(e); }
|
||||
printMsg(lvlError, format("SETTEDS"));
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue