changed dropTableImpl to use the transaction if it's there