1
0
Fork 0

Bad state.

This commit is contained in:
Max Neunhoeffer 2014-01-03 14:10:35 +01:00
parent d50d4d019f
commit f09cdcf292
1 changed files with 2 additions and 8 deletions

View File

@ -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);
////////////////////////////////////////////////////////////////////////////////