Skip to content
This repository has been archived by the owner on Mar 14, 2024. It is now read-only.

Commit

Permalink
Fix execute literal call for encrypting the db
Browse files Browse the repository at this point in the history
  • Loading branch information
ospfranco committed Jan 2, 2024
1 parent ac1723f commit 8879a92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/bridge.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ BridgeResult sqlite_open(std::string const &dbName, std::string const &lastPath,
dbMap[dbName] = db;

// Encrypts the database
sqliteExecuteLiteral(dbName, "PRAGMA key = '" + encryptionKey + "'");
sqlite_execute_literal(dbName, "PRAGMA key = '" + encryptionKey + "'");

return BridgeResult{.type = SQLiteOk, .affectedRows = 0};
}
Expand Down

0 comments on commit 8879a92

Please sign in to comment.