diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 899d26a..ccdfa10 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -29,6 +29,7 @@ jobs: - uses: astral-sh/setup-uv@v3 with: enable-cache: true + - run: uv python install 3.12 - run: ./scripts/vendor.sh - run: make loadable static - run: uv sync --directory tests diff --git a/sqlite-vec.c b/sqlite-vec.c index 6eb7318..9830a32 100644 --- a/sqlite-vec.c +++ b/sqlite-vec.c @@ -6419,7 +6419,7 @@ int vec0Update_Insert(sqlite3_vtab *pVTab, int argc, sqlite3_value **argv, partitionKeyValues[partition_key_idx] = argv[2+VEC0_COLUMN_USERN_START + i]; int new_value_type = sqlite3_value_type(partitionKeyValues[partition_key_idx]); - if(new_value_type != SQLITE_NULL && new_value_type != p->paritition_columns[partition_key_idx].type) { + if((new_value_type != SQLITE_NULL) && (new_value_type != p->paritition_columns[partition_key_idx].type)) { // IMP: V11454_28292 vtab_set_error( pVTab,