never cache @@TRANCOUNT, as this could cause transactions not to be committed properly
Merge pull request #305 from sys-64738/3-2-stable

fix for not caching @@TRANCOUNT in outside_transaction? (3.2 branch)