2026-03-12 20:23:15

This commit is contained in:
root
2026-03-12 21:23:47 +01:00
parent eab4b36eca
commit 93039b8489
3332 changed files with 699614 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
-- Copyright 2018 Tanel Poder. All rights reserved. More info at http://tanelpoder.com
-- Licensed under the Apache License, Version 2.0. See LICENSE.txt for terms & conditions.
SET TIMING ON
DROP TABLE t_lock;
CREATE TABLE t_lock AS SELECT * FROM dual;
@pd enqueue_deadlock
DECLARE
PROCEDURE p IS
PRAGMA AUTONOMOUS_TRANSACTION;
j VARCHAR2(100);
BEGIN
--UPDATE t_lock SET dummy = 'Z';
SELECT dummy INTO j FROM t_lock FOR UPDATE WAIT 6;
END;
BEGIN
UPDATE t_lock SET dummy = 'Z';
p();
END;
/