Repository navigation
Commit e96be1a
committed
fix(memory): use db.loadExtension() instead of sqliteVec.load() for node:sqlite compat
sqliteVec.load() is a better-sqlite3 API and is incompatible with the
node:sqlite DatabaseSync used in 2026.4.26. Both code paths now use
db.loadExtension(extensionPath) which node:sqlite supports.
Fixes #744011 parent 587b537 commit e96be1a
1 file changed
Lines changed: 1 addition & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
| |||
25 | 24 | | |
26 | 25 | | |
27 | 26 | | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
| 27 | + | |
33 | 28 | | |
34 | 29 | | |
35 | 30 | | |
| |||
0 commit comments