Skip to content

Commit b9fa30e

Browse files
remove l_handle from bad example
1 parent 6af4b6d commit b9fa30e

File tree

1 file changed

+1
-2
lines changed
  • docs/4-language-usage/8-patterns/4-ensure-single-execution-at-a-time-of-a-program-unit

1 file changed

+1
-2
lines changed

docs/4-language-usage/8-patterns/4-ensure-single-execution-at-a-time-of-a-program-unit/g-8410.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,9 @@ END lock_up;
3535
3636
/* Call bad example */
3737
DECLARE
38-
l_handle VARCHAR2(128 CHAR);
3938
co_lock_name CONSTANT VARCHAR2(30 CHAR) := 'APPLICATION_LOCK';
4039
BEGIN
41-
l_handle := lock_up.request_lock(in_lock_name => co_lock_name);
40+
lock_up.request_lock(in_lock_name => co_lock_name);
4241
-- processing
4342
lock_up.release_lock(in_lock_handle => l_handle);
4443
EXCEPTION

0 commit comments

Comments
 (0)