aboutsummaryrefslogtreecommitdiffstats
path: root/src/client/Client.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/Client.cxx')
-rw-r--r--src/client/Client.cxx12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/client/Client.cxx b/src/client/Client.cxx
index ce99faa89..c62c759e9 100644
--- a/src/client/Client.cxx
+++ b/src/client/Client.cxx
@@ -20,5 +20,17 @@
#include "config.h"
#include "ClientInternal.hxx"
#include "util/Domain.hxx"
+#include "Partition.hxx"
+#include "Instance.hxx"
const Domain client_domain("client");
+
+#ifdef ENABLE_DATABASE
+
+const Database *
+Client::GetDatabase(Error &error) const
+{
+ return partition.instance.GetDatabase(error);
+}
+
+#endif