[core] tags are immutable, so at this time duplicate the db.statement

This commit is contained in:
Guillaume Polaert 2017-08-01 12:37:06 +02:00 committed by Emanuele Palazzetti
parent e5d0e38008
commit 90b817283a
1 changed files with 0 additions and 1 deletions

View File

@ -19,7 +19,6 @@ public class DBStatementAsResourceName extends AbstractDecorator {
if (super.afterSetTag(context, tag, value)) {
// Replace the OT db.statement by the DD sql.query
context.setTag(DDTags.DB_STATEMENT, value);
context.getTags().remove(Tags.DB_STATEMENT.getKey());
return true;
}
return false;