예제 #1
0
 // Storage interface
 virtual void close() {
     if (db_ == nullptr) {
         std::logic_error err("Database allready closed");
         BOOST_THROW_EXCEPTION(err);
     }
     aku_close_database(db_);
     db_ = nullptr;
 }
예제 #2
0
void AkumuliConnection::close() {
    aku_close_database(db_);
}