Skip to content

Commit bda5b4e

Browse files
committed
Removed debug code
1 parent 91af775 commit bda5b4e

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/sqlite-vector.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -847,7 +847,6 @@ void *vector_context_create (void) {
847847
}
848848

849849
void vector_context_free (void *p) {
850-
return;
851850
if (p) {
852851
vector_context *ctx = (vector_context *)p;
853852
for (int i=0; i<ctx->table_count; ++i) {
@@ -2036,7 +2035,6 @@ SQLITE_VECTOR_API int sqlite3_vector_init (sqlite3 *db, char **pzErrMsg, const s
20362035

20372036
init_distance_functions(false);
20382037

2039-
// TODO: error message must be duplicate here?
20402038
// create internal table
20412039
rc = sqlite3_exec(db, VECTOR_INTERNAL_TABLE, NULL, NULL, NULL);
20422040
if (rc != SQLITE_OK) return rc;

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.8.9"
27+
#define SQLITE_VECTOR_VERSION "0.9.0"
2828

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

0 commit comments

Comments
 (0)