mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-04-19 08:51:26 -07:00
Removing is_mariadb and is_mysql functions
This commit is contained in:
parent
93e42bc8f9
commit
6ac515bfa5
3 changed files with 2 additions and 33 deletions
|
@ -214,20 +214,6 @@ def get_server_implementation(cursor):
|
|||
return "mysql"
|
||||
|
||||
|
||||
def is_mariadb(implementation):
|
||||
if implementation == "mariadb":
|
||||
return True
|
||||
else:
|
||||
return False
|
||||
|
||||
|
||||
def is_mysql(implementation):
|
||||
if implementation == "mysql":
|
||||
return True
|
||||
else:
|
||||
return False
|
||||
|
||||
|
||||
def set_session_vars(module, cursor, session_vars):
|
||||
"""Set session vars."""
|
||||
for var, value in session_vars.items():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue