Skip to content

Commit 63dd2dc

Browse files
fix #67 - grammar in title, call in bad example
1 parent 277fbcf commit 63dd2dc

File tree

1 file changed

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

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# G-8410: Always use application locks to ensure a program unit only running once at a given time.
1+
# G-8410: Always use application locks to ensure a program unit is only running once at a given time.
22

33
!!! tip "Minor"
44
Efficiency, Reliability
@@ -39,11 +39,11 @@ DECLARE
3939
BEGIN
4040
lock_up.request_lock(in_lock_name => co_lock_name);
4141
-- processing
42-
lock_up.release_lock(in_lock_handle => l_handle);
42+
lock_up.release_lock(in_lock_name => co_lock_name);
4343
EXCEPTION
4444
WHEN OTHERS THEN
4545
-- log error
46-
lock_up.release_lock(in_lock_handle => l_handle);
46+
lock_up.release_lock(in_lock_name => co_lock_name);
4747
RAISE;
4848
END;
4949
/

0 commit comments

Comments
 (0)