Fixed logging of index creation.
This commit is contained in:
parent
1a136af84a
commit
be1a936944
@ -127,10 +127,14 @@ bool Indexes::add_index(IndexDefinition id)
|
||||
|
||||
if (finish(t)) {
|
||||
t.trans.commit();
|
||||
|
||||
logger.info("Success");
|
||||
return true;
|
||||
|
||||
} else {
|
||||
t.trans.abort();
|
||||
|
||||
logger.info("Failed");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user