Skip to content

Commit

Permalink
Minor correction
Browse files Browse the repository at this point in the history
  • Loading branch information
ospfranco committed Aug 28, 2024
1 parent 5683cdf commit 3779a89
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
4 changes: 2 additions & 2 deletions cpp/DBHostObject.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ class JSI_EXPORT DBHostObject : public jsi::HostObject {
DBHostObject(jsi::Runtime &rt, std::string &base_path,
std::shared_ptr<react::CallInvoker> js_call_invoker,
std::shared_ptr<ThreadPool> thread_pool, std::string &db_name,
std::string &path, std::string &crsqlite_path, std::string &sqlite_vec_path,
std::string &encryption_key);
std::string &path, std::string &crsqlite_path,
std::string &sqlite_vec_path, std::string &encryption_key);

#ifdef OP_SQLITE_USE_LIBSQL
// Constructor for remoteOpen, purely for remote databases
Expand Down
7 changes: 2 additions & 5 deletions ios/OPSQLite.mm
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,9 @@ - (NSDictionary *)getConstants {
ofType:@""];
NSBundle *libsqlitevec_bundle =
[NSBundle bundleWithIdentifier:@"com.ospfranco.sqlitevec"];
NSString *sqlite_vec_path =
[libsqlitevec_bundle pathForResource:@"sqlitevec" ofType:@""];
NSString *sqlite_vec_path = [libsqlitevec_bundle pathForResource:@"sqlitevec"
ofType:@""];


// NSString *sqlite_vec_path = @"";

if (crsqlite_path == nil) {
crsqlite_path = @"";
}
Expand Down

0 comments on commit 3779a89

Please sign in to comment.