fix(binlog): refs #4409 Fix fixtures cursor name
gitea/salix/pipeline/pr-dev This commit looks good
Details
gitea/salix/pipeline/pr-dev This commit looks good
Details
This commit is contained in:
parent
7cda14c424
commit
a0126748e2
|
@ -2624,18 +2624,18 @@ BEGIN
|
||||||
DECLARE vDone BOOL;
|
DECLARE vDone BOOL;
|
||||||
DECLARE vTicketFk INT;
|
DECLARE vTicketFk INT;
|
||||||
|
|
||||||
DECLARE cCur CURSOR FOR SELECT id FROM vn.ticket;
|
DECLARE cTickets CURSOR FOR SELECT id FROM vn.ticket;
|
||||||
DECLARE CONTINUE HANDLER FOR NOT FOUND
|
DECLARE CONTINUE HANDLER FOR NOT FOUND
|
||||||
SET vDone = TRUE;
|
SET vDone = TRUE;
|
||||||
|
|
||||||
OPEN cCur;
|
OPEN cTickets;
|
||||||
myLoop: LOOP
|
myLoop: LOOP
|
||||||
SET vDone = FALSE;
|
SET vDone = FALSE;
|
||||||
FETCH cCur INTO vTicketFk;
|
FETCH cTickets INTO vTicketFk;
|
||||||
IF vDone THEN LEAVE myLoop; END IF;
|
IF vDone THEN LEAVE myLoop; END IF;
|
||||||
CALL vn.ticket_recalc(vTicketFk, NULL);
|
CALL vn.ticket_recalc(vTicketFk, NULL);
|
||||||
END LOOP;
|
END LOOP;
|
||||||
CLOSE cCur;
|
CLOSE cTickets;
|
||||||
END$$
|
END$$
|
||||||
DELIMITER ;
|
DELIMITER ;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue