From f09cdcf29285ab23ebb6b4455b8fbde14e97afe7 Mon Sep 17 00:00:00 2001 From: Max Neunhoeffer Date: Fri, 3 Jan 2014 14:10:35 +0100 Subject: [PATCH] Bad state. --- arangod/Cluster/ClusterInfo.h | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/arangod/Cluster/ClusterInfo.h b/arangod/Cluster/ClusterInfo.h index 304199257f..e5c8079808 100644 --- a/arangod/Cluster/ClusterInfo.h +++ b/arangod/Cluster/ClusterInfo.h @@ -60,6 +60,7 @@ namespace triagens { NORMAL = 1, EDGES = 2 }; + DatabaseID database; string id; string name; Status status; @@ -169,14 +170,6 @@ namespace triagens { bool doesDatabaseExist (DatabaseID const& databaseID); -//////////////////////////////////////////////////////////////////////////////// -/// @brief set the current cluster database -/// -/// This invalidates the cache about the collections data. -//////////////////////////////////////////////////////////////////////////////// - - bool setCurrentDatabase (DatabaseID const& databaseID); - //////////////////////////////////////////////////////////////////////////////// /// @brief (re-)load the information about databases from the agency /// @@ -194,6 +187,7 @@ namespace triagens { //////////////////////////////////////////////////////////////////////////////// CollectionInfo const* getCollectionInfo( + DatabaseID const& databaseID, CollectionID const& collectionID); ////////////////////////////////////////////////////////////////////////////////