Limit latest dep version for tomcat-jdbc (#9643)
This commit is contained in:
parent
6f0fd8e631
commit
6980b693dc
|
@ -40,6 +40,7 @@ dependencies {
|
|||
testImplementation("org.scala-lang:scala-library:2.11.12")
|
||||
testImplementation("com.typesafe.slick:slick_2.11:3.2.0")
|
||||
testImplementation("com.h2database:h2:1.4.197")
|
||||
latestDepTestLibrary("org.apache.tomcat:tomcat-jdbc:10.1.13")
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
|
|
|
@ -92,7 +92,7 @@ public class PreparedStatementInstrumentation implements TypeInstrumentation {
|
|||
@Advice.Local("otelRequest") DbRequest request,
|
||||
@Advice.Local("otelContext") Context context,
|
||||
@Advice.Local("otelScope") Scope scope) {
|
||||
if (callDepth.decrementAndGet() > 0) {
|
||||
if (callDepth == null || callDepth.decrementAndGet() > 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue