Commit 8d85b304 authored by Ahoo Wang's avatar Ahoo Wang Committed by Lemon

fix CreateExitSegment.GetParentSegmentContext(SpanType.Exit) bug (#180)

* update SmartSql-version -> v4.0.0

* add SkyApm.Sample.SmartSql.csproj
add SmartSql.CommandExecuter Diagnostics

* fix CreateExitSegment.GetParentSegmentContext(SpanType.Exit) bug
parent 3718ebf5
......@@ -212,7 +212,7 @@ namespace SkyApm.Tracing
case SpanType.Entry:
return null;
case SpanType.Local:
return _entrySegmentContextAccessor.Context;
//return _entrySegmentContextAccessor.Context;
case SpanType.Exit:
return _localSegmentContextAccessor.Context ?? _entrySegmentContextAccessor.Context;
default:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment