try fix macos python, paren around expr?

This commit is contained in:
Alex Garcia 2024-11-13 12:21:29 -08:00
parent 78717dda4d
commit f3d4bb37aa
2 changed files with 2 additions and 1 deletions

View file

@ -29,6 +29,7 @@ jobs:
- uses: astral-sh/setup-uv@v3 - uses: astral-sh/setup-uv@v3
with: with:
enable-cache: true enable-cache: true
- run: uv python install 3.12
- run: ./scripts/vendor.sh - run: ./scripts/vendor.sh
- run: make loadable static - run: make loadable static
- run: uv sync --directory tests - run: uv sync --directory tests

View file

@ -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]; partitionKeyValues[partition_key_idx] = argv[2+VEC0_COLUMN_USERN_START + i];
int new_value_type = sqlite3_value_type(partitionKeyValues[partition_key_idx]); 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 // IMP: V11454_28292
vtab_set_error( vtab_set_error(
pVTab, pVTab,