Skip to content

Commit ea2ab42

Browse files
committed
Fixed an incomplete error message.
1 parent 470f70e commit ea2ab42

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/sqlite-vector.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1471,7 +1471,7 @@ static int vCursorFilterCommon (sqlite3_vtab_cursor *cur, int idxNum, const char
14711471
char buffer[STATIC_SQL_SIZE];
14721472
char *name = generate_quant_table_name(table_name, column_name, buffer);
14731473
if (!name || !sqlite_table_exists(vtab->db, name)) {
1474-
sqlite_vtab_set_error(&vtab->base, "Quantization table not found for table '%s' and column '%s'. Ensure that vector_quantize() has been called before using vector_quantize_scan().");
1474+
sqlite_vtab_set_error(&vtab->base, "Quantization table not found for table '%s' and column '%s'. Ensure that vector_quantize() has been called before using vector_quantize_scan().", table_name, column_name);
14751475
return SQLITE_ERROR;
14761476
}
14771477
}

src/sqlite-vector.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
extern "C" {
2525
#endif
2626

27-
#define SQLITE_VECTOR_VERSION "0.9.6"
27+
#define SQLITE_VECTOR_VERSION "0.9.7"
2828

2929
SQLITE_VECTOR_API int sqlite3_vector_init (sqlite3 *db, char **pzErrMsg, const sqlite3_api_routines *pApi);
3030

0 commit comments

Comments
 (0)