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

Safely check for undefined values in --skip-check-slave-lag

    Details

    • Type: Bug
    • Status: Done
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.5
    • Component/s: None
    • Labels:
      None

      Description

      From 3rd party contribution: https://github.com/percona/percona-toolkit/pull/230#issuecomment-308564024

       

      The P parameter can be undefined in DSNs, resulting in the skip-check-slave-lag feature in pt-table-checksum puking trying to compare undefs.

      This handles that check a little more safely.

        Smart Checklist

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  carlos.salguero Carlos Salguero
                  Reporter:
                  carlos.salguero Carlos Salguero
                • Votes:
                  1 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: