Fixed recursion limit of 100 error that happened when inserting a transition in the 137th procedure of a large procedure set
This commit is contained in:
parent
37a481db24
commit
c21ca1547d
@ -5545,7 +5545,7 @@ join itemz zz on pp.itemid = zz.itemid
|
|||||||
join items ii on ii.contentid = pp.contentid
|
join items ii on ii.contentid = pp.contentid
|
||||||
)
|
)
|
||||||
select top 1 @ParentID = itemid from itemz
|
select top 1 @ParentID = itemid from itemz
|
||||||
where isfound = 1
|
where isfound = 1 OPTION (MAXRECURSION 10000)
|
||||||
RETURN @ParentID
|
RETURN @ParentID
|
||||||
END
|
END
|
||||||
GO
|
GO
|
||||||
|
Loading…
x
Reference in New Issue
Block a user