mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-08-03 04:34:27 -07:00
Document that pymysql 0.10.0 disabled its warnings
This commit is contained in:
parent
dc7c8dce88
commit
05a986df1a
1 changed files with 2 additions and 1 deletions
|
@ -222,7 +222,8 @@ def main():
|
|||
# When something is run with IF NOT EXISTS
|
||||
# and there's "already exists" MySQL warning,
|
||||
# set the flag as True.
|
||||
# PyMySQL throws the warning, mysqlclinet does NOT.
|
||||
# PyMySQL < 0.10.0 throws the warning, mysqlclient
|
||||
# and PyMySQL 0.10.0+ does NOT.
|
||||
already_exists = True
|
||||
|
||||
except Exception as e:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue