mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-04-24 03:11:25 -07:00
Fix parsing of versions with dashes
This commit is contained in:
parent
da9d82ecc6
commit
0532ebd6ca
1 changed files with 1 additions and 1 deletions
|
@ -438,7 +438,7 @@ def get_account_locking(cursor, user, host):
|
|||
cursor.execute("SELECT VERSION()")
|
||||
result = cursor.fetchone()
|
||||
version_str = result[0]
|
||||
version = version_str.split('.')
|
||||
version = version_str.split('-')[0].split('.')
|
||||
|
||||
locking = {}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue