Skip to content

Commit 47eb754

Browse files
committed
#2455 sp_DatabaseRestore extra end
Bug from #2180, closes #2455.
1 parent d761af5 commit 47eb754

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

sp_DatabaseRestore.sql

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -774,8 +774,6 @@ BEGIN
774774
END;
775775
IF @Debug IN (0, 1) AND @Execute = 'Y'
776776
EXECUTE master.sys.sp_executesql @stmt = @sql;
777-
END
778-
EXECUTE @sql = [dbo].[CommandExecute] @Command = @sql, @CommandType = 'DROP DATABASE', @Mode = 1, @DatabaseName = @Database, @LogToTable = 'Y', @Execute = 'Y';
779777
END
780778
IF @ExistingDBAction = 4
781779
BEGIN

0 commit comments

Comments
 (0)