mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2025-05-10 18:05:44 +02:00
fix: Update cntx->cid on multi-tx'es (#1081)
Signed-off-by: Vladislav Oleshko <vlad@dragonflydb.io>
This commit is contained in:
parent
f013699613
commit
282c168d34
4 changed files with 9 additions and 2 deletions
|
@ -57,6 +57,8 @@ Transaction::Transaction(const Transaction* parent)
|
|||
: multi_{make_unique<MultiData>()}, txid_{parent->txid()} {
|
||||
multi_->mode = parent->multi_->mode;
|
||||
multi_->role = SQUASHED_STUB;
|
||||
|
||||
time_now_ms_ = parent->time_now_ms_;
|
||||
}
|
||||
|
||||
Transaction::~Transaction() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue