mirror of
https://github.com/pgvector/pgvector.git
synced 2026-06-06 05:51:21 +08:00
@@ -315,7 +315,10 @@ HnswGetMetaPageInfo(Relation index, int *m, HnswElement * entryPoint)
|
||||
if (entryPoint != NULL)
|
||||
{
|
||||
if (BlockNumberIsValid(metap->entryBlkno))
|
||||
{
|
||||
*entryPoint = HnswInitElementFromBlock(metap->entryBlkno, metap->entryOffno);
|
||||
(*entryPoint)->level = metap->entryLevel;
|
||||
}
|
||||
else
|
||||
*entryPoint = NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user