mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-04-21 09:51:31 -07:00
Fix parsing of versions with dashes
This commit is contained in:
parent
9ffdeb0be3
commit
5646003189
1 changed files with 1 additions and 1 deletions
|
@ -415,7 +415,7 @@ def validate_account_locking(cursor, account_locking):
|
|||
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