Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the MySQL-Diff CPAN distribution.

Report information
The Basics
Id: 79976
Status: open
Priority: 0/
Queue: MySQL-Diff

People
Owner: cpan [...] adamspiers.org
Requestors: ck [...] claudiokuenzler.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.43
Fixed in: (no value)



Subject: Bug in mysqldiff executable when using -A parameter
When trying to use the -A parameter to apply the changes to the database1, an error occurs: # mysqldiff -A db:db1 db2.mysql [... it shows me the diff ... ] Apply above changes to atmail [y/N] ? (CAUTION! Changes contain DROP TABLE commands.) y Applying changes ... Can't locate object method "auth_args" via package "MySQL::Diff::Database" at /usr/bin/mysqldiff line 199, <STDIN> line 1. A simple compare (without -A) works perfectly.
This was caused by https://github.com/aspiers/mysqldiff/commit/3c5d168d58d0d162ec6ecf2fb6197 b66569cf3b7 A temporary workaround is to change the mention of auth_args in bin/mysqldiff to _auth_args_string, however I will commit a proper fix at some point.