add test case

This commit is contained in:
yihaoDeng 2024-02-28 06:45:35 +00:00
parent d7f14e916d
commit d5c5dc7026
1 changed files with 3 additions and 2 deletions

View File

@ -178,8 +178,9 @@ void *backendOpen() {
{
SSessionKey key;
char *val = NULL;
int32_t vlen = 0;
memset(&key, 0, sizeof(key));
char *val = NULL;
int32_t vlen = 0;
code = streamStateSessionGetKVByCur_rocksdb(pCurr, &key, (void **)&val, &vlen);
ASSERT(code == 0);
pCurr = streamStateSessionSeekKeyPrev_rocksdb(p, &key);