Fix proxysql module cursor_class (#67339)

* Fix proxysql module cursor class

* Adding changelog file

* adding extension to changelog file
pull/67483/head
Max Bubenick 5 years ago committed by GitHub
parent 38f26ffcc7
commit eff51c0122
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

@ -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)

@ -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)

@ -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)

@ -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)

@ -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)

@ -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)

Loading…
Cancel
Save