Fix proxysql module cursor_class (#67339)
* Fix proxysql module cursor class * Adding changelog file * adding extension to changelog file
This commit is contained in:
parent
38f26ffcc7
commit
eff51c0122
7 changed files with 8 additions and 6 deletions
|
@ -0,0 +1,2 @@
|
||||||
|
bugfixes:
|
||||||
|
- proxysql - fixed mysql dictcursor
|
|
@ -452,7 +452,7 @@ def main():
|
||||||
login_user,
|
login_user,
|
||||||
login_password,
|
login_password,
|
||||||
config_file,
|
config_file,
|
||||||
cursor_class=mysql_driver.cursors.DictCursor)
|
cursor_class='DictCursor')
|
||||||
except mysql_driver.Error as e:
|
except mysql_driver.Error as e:
|
||||||
module.fail_json(
|
module.fail_json(
|
||||||
msg="unable to connect to ProxySQL Admin Module.. %s" % to_native(e)
|
msg="unable to connect to ProxySQL Admin Module.. %s" % to_native(e)
|
||||||
|
|
|
@ -205,7 +205,7 @@ def main():
|
||||||
login_user,
|
login_user,
|
||||||
login_password,
|
login_password,
|
||||||
config_file,
|
config_file,
|
||||||
cursor_class=mysql_driver.cursors.DictCursor)
|
cursor_class='DictCursor')
|
||||||
except mysql_driver.Error as e:
|
except mysql_driver.Error as e:
|
||||||
module.fail_json(
|
module.fail_json(
|
||||||
msg="unable to connect to ProxySQL Admin Module.. %s" % to_native(e)
|
msg="unable to connect to ProxySQL Admin Module.. %s" % to_native(e)
|
||||||
|
|
|
@ -420,7 +420,7 @@ def main():
|
||||||
login_user,
|
login_user,
|
||||||
login_password,
|
login_password,
|
||||||
config_file,
|
config_file,
|
||||||
cursor_class=mysql_driver.cursors.DictCursor)
|
cursor_class='DictCursor')
|
||||||
except mysql_driver.Error as e:
|
except mysql_driver.Error as e:
|
||||||
module.fail_json(
|
module.fail_json(
|
||||||
msg="unable to connect to ProxySQL Admin Module.. %s" % to_native(e)
|
msg="unable to connect to ProxySQL Admin Module.. %s" % to_native(e)
|
||||||
|
|
|
@ -547,7 +547,7 @@ def main():
|
||||||
login_user,
|
login_user,
|
||||||
login_password,
|
login_password,
|
||||||
config_file,
|
config_file,
|
||||||
cursor_class=mysql_driver.cursors.DictCursor)
|
cursor_class='DictCursor')
|
||||||
except mysql_driver.Error as e:
|
except mysql_driver.Error as e:
|
||||||
module.fail_json(
|
module.fail_json(
|
||||||
msg="unable to connect to ProxySQL Admin Module.. %s" % to_native(e)
|
msg="unable to connect to ProxySQL Admin Module.. %s" % to_native(e)
|
||||||
|
|
|
@ -318,7 +318,7 @@ def main():
|
||||||
login_user,
|
login_user,
|
||||||
login_password,
|
login_password,
|
||||||
config_file,
|
config_file,
|
||||||
cursor_class=mysql_driver.cursors.DictCursor)
|
cursor_class='DictCursor')
|
||||||
except mysql_driver.Error as e:
|
except mysql_driver.Error as e:
|
||||||
module.fail_json(
|
module.fail_json(
|
||||||
msg="unable to connect to ProxySQL Admin Module.. %s" % to_native(e)
|
msg="unable to connect to ProxySQL Admin Module.. %s" % to_native(e)
|
||||||
|
|
|
@ -358,7 +358,7 @@ def main():
|
||||||
login_user,
|
login_user,
|
||||||
login_password,
|
login_password,
|
||||||
config_file,
|
config_file,
|
||||||
cursor_class=mysql_driver.cursors.DictCursor)
|
cursor_class='DictCursor')
|
||||||
except mysql_driver.Error as e:
|
except mysql_driver.Error as e:
|
||||||
module.fail_json(
|
module.fail_json(
|
||||||
msg="unable to connect to ProxySQL Admin Module.. %s" % to_native(e)
|
msg="unable to connect to ProxySQL Admin Module.. %s" % to_native(e)
|
||||||
|
|
Loading…
Reference in a new issue