pt-duplicate-key-checker --key-types=k doesn't work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Toolkit moved to https://jira.percona.com/projects/PT |
Fix Released
|
Medium
|
Daniel Nichter |
Bug Description
[root@poseidon extracted]# pt-duplicate-
pt-duplicate-
Try to use key checks instead of fk checks:
[root@poseidon extracted]# pt-duplicate-
Can't use an undefined value as a HASH reference at /usr/bin/
From PTDEBUG:
# SchemaIterator:3360 27373 Getting next schema object from dbh DBI::db=
# MySQLDump:696 27373 /*!40101 SET @OLD_SQL_MODE := @@SQL_MODE, @@SQL_MODE := REPLACE(
# MySQLDump:684 27373 DBI::db=
# MySQLDump:701 27373 SHOW CREATE TABLE `mysql`
# MySQLDump:711 27373 /*!40101 SET @@SQL_MODE := @OLD_SQL_MODE, @@SQL_QUOTE_
# MySQLDump:715 27373 This table is a base table
# TableParser:409 27373 Storage engine: CSV
# TableParser:230 27373 Table cols: `event_time`, `user_host`, `thread_id`, `server_id`, `command_type`, `argument`
# TableParser:409 27373 Storage engine: CSV
# SchemaIterator:3289 27373 Next schema object: mysql general_log
# TableParser:409 27373 Storage engine: CSV
# TableParser:409 27373 Storage engine: CSV
Can't use an undefined value as a HASH reference at /usr/bin/
Related branches
- Daniel Nichter: Approve
-
Diff: 91 lines (+46/-2)5 files modifiedbin/pt-duplicate-key-checker (+1/-1)
t/pt-duplicate-key-checker/basics.t (+30/-1)
t/pt-duplicate-key-checker/samples/key-types-f.txt (+5/-0)
t/pt-duplicate-key-checker/samples/key-types-fk.txt (+5/-0)
t/pt-duplicate-key-checker/samples/key-types-k.txt (+5/-0)
tags: | added: crash pt-duplicate-key-checker wrong-option |
Changed in percona-toolkit: | |
status: | New → Triaged |
summary: |
- pt-duplicate-key-checker does not work with the --key-types=k does not - work option + pt-duplicate-key-checker --key-types=k doesn't work |
Changed in percona-toolkit: | |
milestone: | none → 2.1.3 |
Changed in percona-toolkit: | |
importance: | Undecided → Medium |
Changed in percona-toolkit: | |
assignee: | nobody → Daniel Nichter (daniel-nichter) |
status: | Triaged → In Progress |
Changed in percona-toolkit: | |
status: | In Progress → Fix Committed |
Changed in percona-toolkit: | |
status: | Fix Committed → Fix Released |
Percona now uses JIRA for bug reports so this bug report is migrated to: https:/ /jira.percona. com/browse/ PT-507