Merge pull request 'fix: refs #7024 fix error on setting local variable' (!2286) from 7024-fixInventorryError into master
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
Reviewed-on: #2286 Reviewed-by: Javi Gallego <jgallego@verdnatura.es>
This commit is contained in:
commit
c008614139
|
@ -232,8 +232,6 @@ BEGIN
|
||||||
CLOSE cWarehouses;
|
CLOSE cWarehouses;
|
||||||
|
|
||||||
UPDATE config SET inventoried = vInventoryDate;
|
UPDATE config SET inventoried = vInventoryDate;
|
||||||
|
|
||||||
SET @isModeInventory := FALSE;
|
|
||||||
|
|
||||||
CREATE OR REPLACE TEMPORARY TABLE tEntryToDelete
|
CREATE OR REPLACE TEMPORARY TABLE tEntryToDelete
|
||||||
(INDEX(entryId)) ENGINE = MEMORY
|
(INDEX(entryId)) ENGINE = MEMORY
|
||||||
|
@ -262,6 +260,8 @@ BEGIN
|
||||||
FROM travel t
|
FROM travel t
|
||||||
JOIN tEntryToDelete tmp ON tmp.travelId = t.id;
|
JOIN tEntryToDelete tmp ON tmp.travelId = t.id;
|
||||||
|
|
||||||
|
SET @isModeInventory := FALSE;
|
||||||
|
|
||||||
DROP TEMPORARY TABLE IF EXISTS tEntryToDelete;
|
DROP TEMPORARY TABLE IF EXISTS tEntryToDelete;
|
||||||
|
|
||||||
COMMIT;
|
COMMIT;
|
||||||
|
|
Loading…
Reference in New Issue