Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-29939

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

    XMLWordPrintable

Details

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

    Description

      NOTE: This bug report is for JIRA Server. Using JIRA Cloud? 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: