release_lock
This commit is contained in:
parent
3ac0af24d1
commit
bfa59bdcea
|
@ -15,6 +15,15 @@ proc:BEGIN
|
|||
DECLARE vHasTooMuchCollections BOOL;
|
||||
DECLARE vLockTime INT DEFAULT 15;
|
||||
|
||||
DECLARE EXIT HANDLER FOR SQLEXCEPTION
|
||||
BEGIN
|
||||
IF 'collection_assign' IS NOT NULL THEN
|
||||
DO RELEASE_LOCK('collection_assign');
|
||||
END IF;
|
||||
|
||||
RESIGNAL;
|
||||
END;
|
||||
|
||||
-- Si hay colecciones sin terminar, sale del proceso
|
||||
CALL collection_get(vUserFk);
|
||||
|
||||
|
|
Loading…
Reference in New Issue