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)) {
|
if (finish(t)) {
|
||||||
t.trans.commit();
|
t.trans.commit();
|
||||||
|
|
||||||
|
logger.info("Success");
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
t.trans.abort();
|
t.trans.abort();
|
||||||
|
|
||||||
|
logger.info("Failed");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user