Uploaded image for project: 'Percona Toolkit'
  1. Percona Toolkit
  2. PT-869

LP #821706: pt-query-digest --watch-server may crash

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: On Hold
    • Priority: Low
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None

      Description

      **Reported in Launchpad by Daniel Nichter last update 04-02-2013 17:17:40

      Imported from http://code.google.com/p/maatkit/issues/detail?id=1202

      Quoting the original:

      The problem is in ProtocolParser::_get_session(): this sub will return early if the server in the packet doesn't match --watch-server. Then in _parse_packet() we have:

      if ( $packet_from eq 'server' ) {

      but $packet_from will be undef if _get_session() returned early. Fix: check retval of _get_session().

        Smart Checklist

          Attachments

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              lpjirasync lpjirasync (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: