Commit 1557d1e8 authored by Steven Murray's avatar Steven Murray
Browse files

Added a "not implemented" ping() to Catalogue.

parent ee12569d
......@@ -542,6 +542,14 @@ public:
*/
virtual void unlockSchema() = 0;
/**
* Checks that the most trivial query goes through. Returns true on success,
* false on failure.
*
* @return True if the query went through.
*/
virtual bool ping() = 0;
}; // class Catalogue
} // namespace catalogue
......
......@@ -4515,5 +4515,12 @@ void RdbmsCatalogue::unlockSchema() {
}
}
//------------------------------------------------------------------------------
// ping
//------------------------------------------------------------------------------
bool RdbmsCatalogue::ping() {
throw exception::Exception(std::string(__FUNCTION__) + " not implemented");
}
} // namespace catalogue
} // namespace cta
......@@ -511,6 +511,14 @@ public:
*/
void unlockSchema() override;
/**
* Checks that the most trivial query goes through. Returns true on success,
* false on failure.
*
* @return True if the query went through.
*/
bool ping() override;
protected:
/**
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment