M
Matt Baker
Guest
I tried to stay out of this...but I can't. Please...don't do that. You'll just tangle it even more, and have to fix even more bad code..."later". If you're going about adding checks against global flags...just use exceptions. There's no easy fix. But there are correct fixes. The correct fix, is to throw an exception; It will unwind the stack and back out the transaction properly. Find all the places where this procedure is called, and add catch block to either handle it or sprinkle undo, throw where needed.
Continue reading...
Continue reading...