fix segfault on invalid vec_each() input, fixes #163

This commit is contained in:
Alex Garcia 2025-01-10 14:44:37 -08:00
parent 21eda5c24d
commit 44e4438ed5
2 changed files with 6 additions and 1 deletions

View file

@ -1614,6 +1614,9 @@ def test_vec_each():
{"rowid": 2, "value": 3.0},
]
with _raises("Input must have type BLOB (compact format) or TEXT (JSON), found NULL"):
vec_each_f32(None)
import io