projects
/
platform
/
upstream
/
libzypp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2814766
)
mark the transact causer only when we set the transact, not when we clear it
author
Klaus Kaempf
<kkaempf@suse.de>
Mon, 6 Feb 2006 17:54:15 +0000
(17:54 +0000)
committer
Klaus Kaempf
<kkaempf@suse.de>
Mon, 6 Feb 2006 17:54:15 +0000
(17:54 +0000)
zypp/ResStatus.h
patch
|
blob
|
history
diff --git
a/zypp/ResStatus.h
b/zypp/ResStatus.h
index c7fcd68a42d94199d87ce7cb314f0f9967b9115d..9a6522ba78cf3aa114ff354b14f254bca8b7e689 100644
(file)
--- a/
zypp/ResStatus.h
+++ b/
zypp/ResStatus.h
@@
-235,7
+235,8
@@
namespace zypp
{
if (!isGreaterThan<TransactByField>( causer )) {
fieldValueAssign<TransactField>( val_r ? TRANSACT : KEEP_STATE );
- fieldValueAssign<TransactByField>( causer );
+ if (val_r) fieldValueAssign<TransactByField>( causer ); // remember the causer on set
+ else fieldValueAssign<TransactByField>( SOLVER ); // clear it on reset
return true;
} else if (fieldValueIs<TransactField>(val_r ? TRANSACT : KEEP_STATE)) {
return true; // is already set