You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: SecurityMetadata/Xslt/Security-Metadata-SQL-Generator.xslt
+2-6
Original file line number
Diff line number
Diff line change
@@ -108,19 +108,17 @@ END
108
108
109
109
SET @claimId = SCOPE_IDENTITY()
110
110
END
111
-
<xsl:iftest="@relocate = 'true'">
112
111
ELSE
113
112
BEGIN
114
113
IF @parentResourceClaimId != @existingParentResourceClaimId OR (@parentResourceClaimId IS NULL AND @existingParentResourceClaimId IS NOT NULL) OR (@parentResourceClaimId IS NOT NULL AND @existingParentResourceClaimId IS NULL)
IF parent_resource_claim_id != existing_parent_resource_claim_id OR (parent_resource_claim_id IS NULL AND existing_parent_resource_claim_id IS NOT NULL) OR (parent_resource_claim_id IS NOT NULL AND existing_parent_resource_claim_id IS NULL) THEN
322
-
RAISE NOTICE USING MESSAGE = 'Relocating claim ''' || claim_name || ''' (ResourceClaimId=' || claim_id || ') under new parent (from ResourceClaimId=' || COALESCE(existing_parent_resource_claim_id, 0) || ' to ResourceClaimId=' || COALESCE(parent_resource_claim_id, 0) || ')';
319
+
RAISE NOTICE USING MESSAGE = 'Repointing claim ''' || claim_name || ''' (ResourceClaimId=' || claim_id || ') to new parent (from ResourceClaimId=' || COALESCE(existing_parent_resource_claim_id, 0) || ' to ResourceClaimId=' || COALESCE(parent_resource_claim_id, 0) || ')';
323
320
324
321
UPDATE dbo.ResourceClaims
325
322
SET ParentResourceClaimId = parent_resource_claim_id
0 commit comments