diff --git a/cpp/libsql/bridge.cpp b/cpp/libsql/bridge.cpp index 5593827..5014307 100644 --- a/cpp/libsql/bridge.cpp +++ b/cpp/libsql/bridge.cpp @@ -159,15 +159,6 @@ BridgeResult opsqlite_libsql_close(std::string const &name) { }; } -void opsqlite_libsql_close_all() { - // for (auto const &db : db_map) { - // libsql_close(); - // } - for (auto const &db : db_map) { - opsqlite_libsql_close(db.first); - } -} - BridgeResult opsqlite_libsql_attach(std::string const &mainDBName, std::string const &docPath, std::string const &databaseToAttach, @@ -255,7 +246,7 @@ void opsqlite_libsql_bind_statement(libsql_stmt_t statement, if (std::holds_alternative(value)) { status = libsql_bind_int(statement, index, - static_cast(std::get(value)), &err); + static_cast(std::get(value)), &err); } else if (std::holds_alternative(value)) { status = libsql_bind_int(statement, index, std::get(value), &err); } else if (std::holds_alternative(value)) {