Open GoogleCodeExporter opened 9 years ago
After some research i found the issue.
line 4438 :
variable_values = ", ".join(["%s" % status_dict[column_name] for column_name in
sorted_list(status_dict.keys())])
You join all values without quotes and some values are strings (ex:
mysql-bin.000005).
INSERT statement goes wrong in this field and return "Unknown column 'mysql' in
'field list'".
I added quotes like this :
variable_values = ", ".join(["'%s'" % status_dict[column_name] for column_name
in sorted_list(status_dict.keys())])
And it works.
Thanks
Original comment by maxime.f...@gmail.com
on 16 Sep 2013 at 8:48
thank you for your research and fixing , maxime ! :D
Original comment by kiiwii.S...@gmail.com
on 27 Jun 2014 at 3:21
Original issue reported on code.google.com by
maxime.f...@gmail.com
on 11 Sep 2013 at 12:21