Fixed logging of index creation.

This commit is contained in:
Kruno Tomola Fabro 2016-09-12 20:38:03 +01:00
parent 1a136af84a
commit be1a936944

View File

@ -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;
} }
} }