mirror of
https://github.com/pgvector/pgvector.git
synced 2026-07-10 22:56:55 +08:00
Updated comment [skip ci]
This commit is contained in:
@@ -512,7 +512,7 @@ HnswInsertTuple(Relation index, Datum *values, bool *isnull, ItemPointer heap_ti
|
|||||||
/* Get entry point */
|
/* Get entry point */
|
||||||
entryPoint = HnswGetEntryPoint(index);
|
entryPoint = HnswGetEntryPoint(index);
|
||||||
|
|
||||||
/* Special case for no entry point */
|
/* Prevent concurrent inserts when no entry point */
|
||||||
if (entryPoint == NULL)
|
if (entryPoint == NULL)
|
||||||
{
|
{
|
||||||
if (HnswAddEntryPoint(index, element, m, &entryPoint))
|
if (HnswAddEntryPoint(index, element, m, &entryPoint))
|
||||||
|
|||||||
Reference in New Issue
Block a user