Skip to content

Commit

Permalink
cast
Browse files Browse the repository at this point in the history
  • Loading branch information
msotheeswaran-sc committed Oct 4, 2023
1 parent 2fd6410 commit 8a1d648
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/storage/rocksdb.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ bool RocksDBStorageProvider::enumerate_hashslot(callback fn, unsigned int hashsl
bool fContinue = fn(it->key().data()+sizeof(unsigned int), it->key().size()-sizeof(unsigned int), it->value().data(), it->value().size());
if (!fContinue)
break;
serverLog(LL_WARNING, "%d %d %d", hashslot, *it->key().data(), *prefix.c_str());
serverLog(LL_WARNING, "%d %d %d", hashslot, (unsigned int)*it->key().data(), (unsigned int)*prefix.c_str());
serverLog(LL_WARNING, "Found key %d of %d with len %d: %.*s", count, g_pserver->cluster->slots_keys_count[hashslot], (int)it->key().size()-sizeof(unsigned int), (int)it->key().size()-sizeof(unsigned int), it->key().data()+sizeof(unsigned int));
}
bool full_iter = !it->Valid() || (strncmp(it->key().data(),prefix.c_str(),2) != 0);
Expand Down

0 comments on commit 8a1d648

Please sign in to comment.