Fix: Yet another unused local variable
Merge branch 'cs/#6916-remove-unused-db-variable-in-db2-select-decorator'

Close #6916