Uploaded image for project: 'Jira Cloud'
  1. Jira Cloud
  2. JRACLOUD-29939

SQL Logger is failing to log SQL string for Statements with no bind variables

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Low
    • None
    • None

    Description

      NOTE: This bug report is for JIRA Cloud. Using JIRA Server? See the corresponding bug report.

      It logs an empty SQL string like this:

      2012-09-20 14:53:53,151 calitrack-thread-31 ut1j2x 893x78517x1 ogq6gk /secure/QuickCreateIssue!default.jspa 4947ms ""
      

      instead of

      2012-09-20 14:53:53,151 calitrack-thread-31 ut1j2x 893x78517x1 ogq6gk /secure/QuickCreateIssue!default.jspa 4947ms "SELECT ID, ISSUE, CUSTOMFIELD, PARENTKEY, STRINGVALUE, NUMBERVALUE, TEXTVALUE, DATEVALUE, VALUETYPE FROM customfieldvalue WHERE ISSUE IS NULL"
      

      This was discovered while investigating JRA-29824

      Attachments

        Issue Links

          Activity

            People

              edalgliesh Eric Dalgliesh
              mlassau Mark Lassau (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: