We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5c970af commit 5138d14Copy full SHA for 5138d14
1 file changed
dev/ese/src/ese/bt.cxx
@@ -7861,7 +7861,12 @@ ERR ErrBTIOpen(
7861
ERR ErrBTIGotoRoot( FUCB *pfucb, LATCH latch )
7862
{
7863
ERR err;
7864
- PIBTraceContextScope tcScope = TcBTICreateCtxScope( pfucb, iorsBTOpen );
+
7865
+ // this is a utility function used not only in BTOpen, but many places, we should inherit
7866
+ // the iors from whom called us. there are many SP functions calling this, it may be some
7867
+ // could use enhancement setting a more contextually correct iors.
7868
+ auto tc = TcCurr();
7869
+ PIBTraceContextScope tcScope = TcBTICreateCtxScope( pfucb, tc.iorReason.Iors() != iorsNone ? tc.iorReason.Iors() : iorsBTOpen );
7870
7871
// should have no page latched
7872
//
0 commit comments