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

LP #1093972: Tools can't parse index names containing newlines

Details

    • 9

    Description

      **Reported in Launchpad by Jervin R last update 02-01-2013 23:15:02

      Support a table definition t:

      CREATE TABLE `t` (
      `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
      `c` char(1) DEFAULT NULL,
      PRIMARY KEY (`id`),
      KEY `idx_with_
      newline` (`c`)
      ) ENGINE=InnoDB DEFAULT CHARSET=latin1

      Running pt-table-checksum produces:

      [revin@forge rsandbox_5_5_270]$ pt-table-checksum --replicate=percona.checksums --tables test.t --user=msandbox --password=msandbox h=127.1,P=55270
      Use of uninitialized value $cols in pattern match (m//) at /home/revin/bin/pt-table-checksum line 4044.

      [revin@forge rsandbox_5_5_270]$ pt-table-checksum --version
      pt-table-checksum 2.1.7

      Attachments

        Activity

          People

            sveta.smirnova Sveta Smirnova
            lpjirasync lpjirasync (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Smart Checklist