mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-08-03 12:44:25 -07:00
Update mysql_db.py
This commit is contained in:
parent
a268f5d28a
commit
467d1e665b
1 changed files with 1 additions and 1 deletions
|
@ -338,7 +338,7 @@ def db_delete(cursor, db):
|
|||
if not db:
|
||||
return False
|
||||
for each_db in db:
|
||||
query = "DROP DATABASE /*!50700 IF EXISTS */ /*M!100100 IF EXISTS */ %s" % mysql_quote_identifier(each_db, 'database')
|
||||
query = "DROP DATABASE %s" % mysql_quote_identifier(each_db, 'database')
|
||||
executed_commands.append(query)
|
||||
cursor.execute(query)
|
||||
return True
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue