Commit dd26b500 authored by jan.koester's avatar jan.koester
Browse files

tests

parent 16453743
Loading
Loading
Loading
Loading
Loading
+1 −6
Original line number Diff line number Diff line
@@ -26,12 +26,7 @@
#include "client.h"
#include "cluster.h"

namespace authdb {
    Client   AuthClient;
    std::mutex AuthClientLock;
    Session  *AuthSession = nullptr;
    Cluster  *g_Cluster   = nullptr;
}
namespace authdb { std::mutex AuthClientLock; }

using authdb::AuthBackend;
using authdb::AuthHeader;
+2 −6
Original line number Diff line number Diff line
@@ -23,12 +23,8 @@
#include "exception.h"
#include "cluster.h"

namespace authdb {
    Client   AuthClient;
    std::mutex AuthClientLock;
    Session  *AuthSession = nullptr;
    Cluster  *g_Cluster   = nullptr;
}
// AuthClientLock is declared extern in authdb.h but never defined
namespace authdb { std::mutex AuthClientLock; }

// ═══════════════════════════════════════
//  UserData
+1 −6
Original line number Diff line number Diff line
@@ -25,12 +25,7 @@
#include "client.h"
#include "cluster.h"

namespace authdb {
    Client   AuthClient;
    std::mutex AuthClientLock;
    Session  *AuthSession = nullptr;
    Cluster  *g_Cluster   = nullptr;
}
namespace authdb { std::mutex AuthClientLock; }

// ═══════════════════════════════════════════════
//  SessionData unit tests (no backend needed)