Document that pymysql 0.10.0 disabled its warnings

This commit is contained in:
Laurent Indermuehle 2023-04-24 16:28:17 +02:00
commit 05a986df1a
No known key found for this signature in database
GPG key ID: 93FA944C9F34DD09

View file

@ -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: