Skip to content

Commit 87538bf

Browse files
authored
Fix warning about version >= 3.41.0 requirement
Current message states that SQLite version needs to be below 3.41.0 for 2nd parameter when in fact it needs to be at or above. * Change messaging to be at or above as that is the requirement set in the parent if statement * Update minor grammatical issue Closes asg017#11
1 parent 14837c8 commit 87538bf

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/sqlite-vss.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -946,8 +946,8 @@ static int vssIndexFilter(sqlite3_vtab_cursor *pVtabCursor,
946946
// https://sqlite.org/forum/info/6b32f818ba1d97ef
947947
sqlite3_free(pVtabCursor->pVtab->zErrMsg);
948948
pVtabCursor->pVtab->zErrMsg = sqlite3_mprintf(
949-
"vss_search() only support vss_search_params() as a "
950-
"2nd parameter for SQLite versions below 3.41.0");
949+
"vss_search() only supports vss_search_params() as a "
950+
"2nd parameter for SQLite versions at or above 3.41.0");
951951
return SQLITE_ERROR;
952952

953953
} else if ((query_vector = pCursor->table->vector_api->xValueAsVector(

0 commit comments

Comments
 (0)