mysqldbcompare crashes with: TypeError: object of type 'NoneType' has no len()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mysql-utilities (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
When running mysqldbcompare to find the SQL statements required to update a database, I encountered the following error:
Traceback (most recent call last):
File "/usr/bin/
db1, db2, options)
File "/usr/lib/
reporter, options)
File "/usr/lib/
obj1, obj2, options)
File "/usr/lib/
(tbl1_rows, tbl2_rows)))
File "/usr/lib/
sql_str += " %s" % build_set_
File "/usr/lib/
if len(src_
TypeError: object of type 'NoneType' has no len()
I'm using Ubuntu 14.04 LTS.
mysql-utilities:
Installed: 1.3.5-2
Candidate: 1.3.5-2
Version table:
*** 1.3.5-2 0
500 http://
100 /var/lib/
The bug seems to be triggered when using a role that had...
GRANT all on db.* to role@localhost;
...but does not seem to be happening when using the 'root' role.