test
This commit is contained in:
@@ -681,7 +681,7 @@ int32_t komodo_kvsearch(int32_t current_height,uint32_t *flagsp,int32_t *heightp
|
|||||||
if ( ptr != 0 )
|
if ( ptr != 0 )
|
||||||
{
|
{
|
||||||
duration = ((ptr->flags >> 2) + 1) * KOMODO_KVDURATION;
|
duration = ((ptr->flags >> 2) + 1) * KOMODO_KVDURATION;
|
||||||
printf("duration.%d flags.%d current.%d ht.%d\n",duration,ptr->flags,current_height,ptr->height);
|
printf("duration.%d flags.%d current.%d ht.%d keylen.%d valuesize.%d\n",duration,ptr->flags,current_height,ptr->height,ptr->keylen,ptr->valuesize);
|
||||||
if ( current_height > (ptr->height + duration) )
|
if ( current_height > (ptr->height + duration) )
|
||||||
{
|
{
|
||||||
HASH_DELETE(hh,KOMODO_KV,ptr);
|
HASH_DELETE(hh,KOMODO_KV,ptr);
|
||||||
|
|||||||
Reference in New Issue
Block a user