Skip to content

Commit

Permalink
Fixed upgrade.sql (2.65 => 2.70).
Browse files Browse the repository at this point in the history
  • Loading branch information
andreymaz committed Dec 2, 2012
1 parent 69cf896 commit 2acbc8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion upgradescripts/2.65-2.70/upgrade.sql
Original file line number Diff line number Diff line change
Expand Up @@ -2118,7 +2118,7 @@ BEGIN

DECLARE @sql nvarchar(1000)
SET @sql = 'SELECT @RestrictedProductVariantIds = [RestrictedProductVariantIds] FROM [DiscountRequirement] WHERE [Id] = ' + ISNULL(CAST(@entity_id AS nvarchar(max)), '0')
EXEC sp_executesql @sql,N'@RestrictedProductVariantIds int OUTPUT',@RestrictedProductVariantIds OUTPUT
EXEC sp_executesql @sql,N'@RestrictedProductVariantIds nvarchar(MAX) OUTPUT',@RestrictedProductVariantIds OUTPUT


IF NOT EXISTS (SELECT 1 FROM [Setting] WHERE [name] = @settingname)
Expand Down

0 comments on commit 2acbc8c

Please sign in to comment.