Skip to content

Commit 29c8311

Browse files
Mixficsolwuxianrong
andauthored
fix: Fix problems found during testing (OpenAtomFoundation#3039)
* Fix problems found during testing --------- Co-authored-by: wuxianrong <[email protected]>
1 parent 0865a81 commit 29c8311

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/storage/src/redis_strings.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,9 +181,9 @@ Status RedisStrings::Append(const Slice& key, const Slice& value, int32_t* ret,
181181
}
182182
} else if (s.IsNotFound()) {
183183
*ret = static_cast<int32_t>(value.size());
184+
out_new_value = value.ToString();
184185
StringsValue strings_value(value);
185186
return db_->Put(default_write_options_, key, strings_value.Encode());
186-
*expired_timestamp_sec = 0;
187187
}
188188
return s;
189189
}

0 commit comments

Comments
 (0)