mirror of
https://github.com/asg017/sqlite-vec.git
synced 2026-04-25 08:46:49 +02:00
try fix macos python, paren around expr?
This commit is contained in:
parent
78717dda4d
commit
f3d4bb37aa
2 changed files with 2 additions and 1 deletions
1
.github/workflows/test.yaml
vendored
1
.github/workflows/test.yaml
vendored
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue