forked from lthn/blockchain
basic_db_accessor::get_t_object() made safe to be called before open() or reset_backend()
This commit is contained in:
parent
000811e2ab
commit
789ed4a2d0
1 changed files with 2 additions and 0 deletions
|
|
@ -280,6 +280,8 @@ namespace tools
|
|||
template<class t_pod_key, class t_object>
|
||||
bool get_t_object(container_handle h, const t_pod_key& k, t_object& obj) const
|
||||
{
|
||||
if (!m_is_open)
|
||||
return false;
|
||||
performance_data& m_performance_data = m_gperformance_data;
|
||||
//TRY_ENTRY();
|
||||
std::string res_buff;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue