Added tests for the encrypted database

This commit is contained in:
Jorrit Wronski
2016-12-23 14:49:28 +01:00
parent 498525bb26
commit d26bd2cb8a
2 changed files with 70 additions and 1 deletions

View File

@@ -259,7 +259,7 @@ void Database::rekey(const std::string& aNewKey) const
check(ret);
}
#else
const SQLite::Exception exception("No encryption support, recompile with SQLITE_HAS_CODEC to use this function.");
const SQLite::Exception exception("No encryption support, recompile with SQLITE_HAS_CODEC to enable.");
throw exception;
#endif // SQLITE_HAS_CODEC
}