supplement more comments on database::_opened variable

This commit is contained in:
cifer 2018-02-26 10:59:51 +08:00 committed by gladcow
parent 20116e0a94
commit 225ab3f7f1

View file

@ -571,7 +571,8 @@ namespace graphene { namespace chain {
* Whether database is successfully opened or not. * Whether database is successfully opened or not.
* *
* The database is considered open when there's no exception * The database is considered open when there's no exception
* or assertion fail during database::open() method. * or assertion fail during database::open() method, and
* database::close() has not been called, or failed during execution.
*/ */
bool _opened = false; bool _opened = false;
}; };