Adjust debug mode from PL/SQL (on demand)
This commit is contained in:
parent
d693196df8
commit
8ecb815c01
@ -242,6 +242,15 @@ CREATE OR REPLACE PACKAGE app AS
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Option to change DEBUG mode
|
||||||
|
--
|
||||||
|
PROCEDURE set_debug (
|
||||||
|
in_status BOOLEAN := TRUE
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
--
|
--
|
||||||
-- Return current owner (because APEX dont like using USER)
|
-- Return current owner (because APEX dont like using USER)
|
||||||
--
|
--
|
||||||
|
|||||||
@ -309,6 +309,16 @@ CREATE OR REPLACE PACKAGE BODY app AS
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
PROCEDURE set_debug (
|
||||||
|
in_status BOOLEAN := TRUE
|
||||||
|
)
|
||||||
|
AS
|
||||||
|
BEGIN
|
||||||
|
APEX_APPLICATION.G_DEBUG := in_status;
|
||||||
|
END;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
FUNCTION get_owner (
|
FUNCTION get_owner (
|
||||||
in_app_id apps.app_id%TYPE := NULL
|
in_app_id apps.app_id%TYPE := NULL
|
||||||
)
|
)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user