File tree Expand file tree Collapse file tree
SQLite3MultipleCiphers/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -213594,11 +213594,9 @@ int diskAnnOpenIndex(
213594213594 if( compressNeighbours == 0 ){
213595213595 pIndex->nEdgeVectorType = pIndex->nNodeVectorType;
213596213596 pIndex->nEdgeVectorSize = pIndex->nNodeVectorSize;
213597- }else if( compressNeighbours == VECTOR_TYPE_FLOAT1BIT ) {
213597+ }else{
213598213598 pIndex->nEdgeVectorType = compressNeighbours;
213599213599 pIndex->nEdgeVectorSize = vectorDataSize(compressNeighbours, pIndex->nVectorDims);
213600- }else{
213601- return SQLITE_ERROR;
213602213600 }
213603213601
213604213602 *ppIndex = pIndex;
Original file line number Diff line number Diff line change @@ -213594,11 +213594,9 @@ int diskAnnOpenIndex(
213594213594 if( compressNeighbours == 0 ){
213595213595 pIndex->nEdgeVectorType = pIndex->nNodeVectorType;
213596213596 pIndex->nEdgeVectorSize = pIndex->nNodeVectorSize;
213597- }else if( compressNeighbours == VECTOR_TYPE_FLOAT1BIT ) {
213597+ }else{
213598213598 pIndex->nEdgeVectorType = compressNeighbours;
213599213599 pIndex->nEdgeVectorSize = vectorDataSize(compressNeighbours, pIndex->nVectorDims);
213600- }else{
213601- return SQLITE_ERROR;
213602213600 }
213603213601
213604213602 *ppIndex = pIndex;
Original file line number Diff line number Diff line change @@ -1749,11 +1749,9 @@ int diskAnnOpenIndex(
17491749 if ( compressNeighbours == 0 ){
17501750 pIndex -> nEdgeVectorType = pIndex -> nNodeVectorType ;
17511751 pIndex -> nEdgeVectorSize = pIndex -> nNodeVectorSize ;
1752- }else if ( compressNeighbours == VECTOR_TYPE_FLOAT1BIT ) {
1752+ }else {
17531753 pIndex -> nEdgeVectorType = compressNeighbours ;
17541754 pIndex -> nEdgeVectorSize = vectorDataSize (compressNeighbours , pIndex -> nVectorDims );
1755- }else {
1756- return SQLITE_ERROR ;
17571755 }
17581756
17591757 * ppIndex = pIndex ;
You can’t perform that action at this time.
0 commit comments