Fix proxysql module cursor_class (#67339)

* Fix proxysql module cursor class

* Adding changelog file

* adding extension to changelog file
This commit is contained in:
Max Bubenick 2020-02-17 09:55:44 -03:00 committed by GitHub
parent 38f26ffcc7
commit eff51c0122
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 8 additions and 6 deletions

View file

@ -0,0 +1,2 @@
bugfixes:
- proxysql - fixed mysql dictcursor

View file

@ -452,7 +452,7 @@ def main():
login_user,
login_password,
config_file,
cursor_class=mysql_driver.cursors.DictCursor)
cursor_class='DictCursor')
except mysql_driver.Error as e:
module.fail_json(
msg="unable to connect to ProxySQL Admin Module.. %s" % to_native(e)

View file

@ -205,7 +205,7 @@ def main():
login_user,
login_password,
config_file,
cursor_class=mysql_driver.cursors.DictCursor)
cursor_class='DictCursor')
except mysql_driver.Error as e:
module.fail_json(
msg="unable to connect to ProxySQL Admin Module.. %s" % to_native(e)

View file

@ -420,7 +420,7 @@ def main():
login_user,
login_password,
config_file,
cursor_class=mysql_driver.cursors.DictCursor)
cursor_class='DictCursor')
except mysql_driver.Error as e:
module.fail_json(
msg="unable to connect to ProxySQL Admin Module.. %s" % to_native(e)

View file

@ -547,7 +547,7 @@ def main():
login_user,
login_password,
config_file,
cursor_class=mysql_driver.cursors.DictCursor)
cursor_class='DictCursor')
except mysql_driver.Error as e:
module.fail_json(
msg="unable to connect to ProxySQL Admin Module.. %s" % to_native(e)

View file

@ -318,7 +318,7 @@ def main():
login_user,
login_password,
config_file,
cursor_class=mysql_driver.cursors.DictCursor)
cursor_class='DictCursor')
except mysql_driver.Error as e:
module.fail_json(
msg="unable to connect to ProxySQL Admin Module.. %s" % to_native(e)

View file

@ -358,7 +358,7 @@ def main():
login_user,
login_password,
config_file,
cursor_class=mysql_driver.cursors.DictCursor)
cursor_class='DictCursor')
except mysql_driver.Error as e:
module.fail_json(
msg="unable to connect to ProxySQL Admin Module.. %s" % to_native(e)