Fix sanity

This commit is contained in:
Laurent Indermuehle 2024-04-11 19:59:41 +02:00
parent 902392e861
commit e22e8939e2
No known key found for this signature in database
GPG key ID: 93FA944C9F34DD09
2 changed files with 2 additions and 0 deletions

View file

@ -30,6 +30,7 @@ def server_supports_password_expire(cursor):
return LooseVersion(version) >= LooseVersion("10.4.3")
def get_tls_requires(cursor, user, host):
"""Get user TLS requirements.
Reads directly from mysql.user table allowing for a more

View file

@ -34,6 +34,7 @@ def server_supports_password_expire(cursor):
return LooseVersion(version) >= LooseVersion("5.7")
def get_tls_requires(cursor, user, host):
"""Get user TLS requirements.
We must use SHOW GRANTS because some tls fileds are encoded.