OpenSwitch uses the Adaptive Server deadlock message (message number 1205) to notify clients when a switch has occurred that has either caused a transaction to be rolled back or has returned an incomplete result set. Under normal circumstances, Adaptive Server also returns a status of -3 from a stored procedure, which indicates that the execution has been halted due to deadlock. OpenSwitch attempts to emulate this behavior. However, for performance reasons, OpenSwitch does not return a status of -3 from stored procedures executed through a SQL language request, such as exec procedure.