fix db2 backend includes (#653)
drop unused variables in lua backend (#653)