Blocks like the following aren't beautified correctly in that lines within the conditional $IF/$THEN/$ELSE control statements are unindented, instead of indented as you see below.
Code:
PROCEDURE untag_session IS
BEGIN
$IF dbms_db_version.version = 11 AND dbms_db_version.release = 1 $THEN
dbms_application_info.set_client_info(' '); -- bug in unpatched 11.1 won't unset client_info
-- This conditional would be better if I could detect the existence of a patch
$ELSE
dbms_application_info.set_client_info(NULL);
$END
dbms_application_info.set_module(NULL, NULL);
END untag_session;
Last edited: