Skip to content

Conversation

@jtduffy
Copy link
Contributor

@jtduffy jtduffy commented Sep 17, 2025

Overview

Resolves #2483

Adds a new config option under the transaction_tracer stanza to disable the execution of the call and exec SQL parser regular expressions.

common: &default_settings
  transaction_tracer:

    # For large SQL statements, executing the regular expressions that attempt to parse exec and
    # call statements can take a significant amount of time. Setting this to true will disable the
    # execution of these complex regular expressions.
    # Default is false.
    exec_call_sql_regex_disabled: false

@codecov-commenter
Copy link

codecov-commenter commented Sep 17, 2025

Codecov Report

❌ Patch coverage is 91.66667% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 70.41%. Comparing base (5a1e4c3) to head (276a072).

Files with missing lines Patch % Lines
...agent/database/DefaultDatabaseStatementParser.java 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main    #2490      +/-   ##
============================================
- Coverage     70.44%   70.41%   -0.03%     
+ Complexity    10052    10048       -4     
============================================
  Files           845      845              
  Lines         40762    40773      +11     
  Branches       6184     6185       +1     
============================================
- Hits          28713    28709       -4     
- Misses         9258     9270      +12     
- Partials       2791     2794       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jtduffy jtduffy merged commit cc52583 into main Sep 23, 2025
115 checks passed
@jtduffy jtduffy deleted the disable-sql-regex branch September 23, 2025 17:02
@kmudduluru kmudduluru moved this from Triage to Code Complete/Done in Java Engineering Board Oct 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Add config to disable execution regular expressions used to parse exec and call statements

4 participants