Skip to content
Snippets Groups Projects

support-6913

Merged Roman Khlopkov requested to merge support-6913 into develop
Files
100
@@ -41,6 +41,9 @@ static void _cdb_pagewarmup(CDB *db, bool loadbf);
@@ -41,6 +41,9 @@ static void _cdb_pagewarmup(CDB *db, bool loadbf);
/* it isn't necessary to rehash bid in hash table cache */
/* it isn't necessary to rehash bid in hash table cache */
static uint32_t _pagehash(const void *key, int len)
static uint32_t _pagehash(const void *key, int len)
{
{
 
uint32_t tst = 0;
 
if (len < tst)
 
return 0;
(void) len;
(void) len;
return *(uint32_t*)key;
return *(uint32_t*)key;
}
}
Loading