mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-15 05:53:00 +00:00
ORM: allow MySQL variables to not exist
In current versions of MySQL and MariaDB `innodb_file_format` and `innodb_large_prefix` have been removed. This allows them to not exist and makes sure the format for the rows are `Dynamic` (default for current versions).
This commit is contained in:
@@ -770,8 +770,8 @@ def mysql_large_prefix_check(engine):
|
||||
).fetchall()
|
||||
)
|
||||
if (
|
||||
variables['innodb_file_format'] == 'Barracuda'
|
||||
and variables['innodb_large_prefix'] == 'ON'
|
||||
variables.get('innodb_file_format', 'Barracuda') == 'Barracuda'
|
||||
and variables.get('innodb_large_prefix', 'ON') == 'ON'
|
||||
):
|
||||
return True
|
||||
else:
|
||||
|
Reference in New Issue
Block a user