[core] tags are immutable, so at this time duplicate the db.statement
This commit is contained in:
parent
e5d0e38008
commit
90b817283a
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue