Skip to content

Commit 936f24a

Browse files
Bug-Fix
* In case of cloning multiple projects, the @project_data table variable was not cleared, thus in some cases caused deployment of wrong project and failure.
1 parent 658c9ed commit 936f24a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

SSISDB/sp_SSISCloneProject.sql

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,9 @@ sp_SSISCloneProject - Clones all projects from all folde
351351
SELECT
352352
@data = NULL
353353

354+
--delete any previous project data
355+
DELETE FROM @project_data
356+
354357
SET @msg = CONVERT(nvarchar(30), SYSDATETIME(), 121)
355358
RAISERROR(N'%s - Processing [%s]\[%s]', 0, 0,@msg, @folder_name, @project_name) WITH NOWAIT;
356359

0 commit comments

Comments
 (0)