tidis icon indicating copy to clipboard operation
tidis copied to clipboard

set command can overwrite data structure of hash

Open han-ian opened this issue 2 years ago • 1 comments

May be this is a bug.

How to reporduce the test: image

Diving into the code, can see that string and hash meta key has the same key format. For the set command, may be it need to check if there is a existing key ? image image

han-ian avatar Oct 17 '22 06:10 han-ian

If this is a bug, I guess the sub_key may be out of control because the meta_key is lost.

han-ian avatar Oct 17 '22 06:10 han-ian