mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-15 14:03:02 +00:00
fix py syntax
This commit is contained in:
@@ -626,8 +626,8 @@ def mysql_large_prefix_check(engine):
|
|||||||
if not str(engine.url).startswith('mysql'):
|
if not str(engine.url).startswith('mysql'):
|
||||||
return False
|
return False
|
||||||
variables = dict(engine.execute(
|
variables = dict(engine.execute(
|
||||||
'show variables where variable_name like'
|
'show variables where variable_name like '
|
||||||
'"innodb_large_prefix" or'
|
'"innodb_large_prefix" or '
|
||||||
'variable_name like "innodb_file_format";').fetchall())
|
'variable_name like "innodb_file_format";').fetchall())
|
||||||
if (variables['innodb_file_format'] == 'Barracuda' and
|
if (variables['innodb_file_format'] == 'Barracuda' and
|
||||||
variables['innodb_large_prefix'] == 'ON'):
|
variables['innodb_large_prefix'] == 'ON'):
|
||||||
|
Reference in New Issue
Block a user