Fixed typo and alignment issues on aarch64

This commit is contained in:
Roland Kühn 2022-04-10 16:28:28 +02:00
parent d280a7616c
commit f68724c7b9
3 changed files with 6 additions and 6 deletions

View File

@ -35,7 +35,7 @@ namespace beedb::concurrency
*
* The time "0" in combination with the set committed flag indicates "infinity".
*/
class timestamp
class alignas(64) timestamp
{
public:
using timestamp_t = std::uint64_t;

View File

@ -26,7 +26,7 @@
namespace beedb::storage
{
class RecordIdentifier
class alignas(64) RecordIdentifier
{
public:
static_assert(sizeof(Page::id_t) + sizeof(std::uint16_t) <= sizeof(std::uint64_t));

View File

@ -112,7 +112,7 @@ bool ClientConsole::handle_response(const std::string &response)
}
else if (server_response->type() == ServerResponse::Type::ServerClosed)
{
std::cout << "Server sopped." << std::endl;
std::cout << "Server stopped." << std::endl;
return false;
}