fix(server): Optimize StoredCmd (#1053)

Opmitize StoredCmd to allow inline storage
This commit is contained in:
Vladislav 2023-04-11 10:14:36 +03:00 committed by GitHub
parent 0ff22c6078
commit 015ed622c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 98 additions and 52 deletions

View file

@ -236,7 +236,7 @@ void Transaction::InitByKeys(KeyIndex key_index) {
auto args = full_args_;
if (key_index.start == args.size()) { // eval with 0 keys.
CHECK(absl::StartsWith(cid_->name(), "EVAL"));
CHECK(absl::StartsWith(cid_->name(), "EVAL")) << cid_->name();
return;
}