Skip to content

Commit

Permalink
Fix path on libsql
Browse files Browse the repository at this point in the history
  • Loading branch information
ospfranco committed Jan 22, 2025
1 parent 9cc6cb6 commit e471c19
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cpp/bridge.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ std::string opsqlite_get_db_path(std::string const &db_name,
return location + "/" + db_name;
}

return location + "/" + db_name;
return location + db_name;
}

#ifdef OP_SQLITE_USE_SQLCIPHER
Expand Down
2 changes: 1 addition & 1 deletion cpp/libsql/bridge.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ std::string opsqlite_get_db_path(std::string const &db_name,
return location + "/" + db_name;
}

return location;
return location + db_name;
}

DB opsqlite_libsql_open_sync(std::string const &name,
Expand Down

0 comments on commit e471c19

Please sign in to comment.