Skip to content

Commit

Permalink
mysql: fix deprecated storage_engine variable (allegro#2944)
Browse files Browse the repository at this point in the history
storage_engine variable has been deprecated in MySQL 5.5.
default_storage_engine is a substitution

fixes compatibility with MySQL 5.7
  • Loading branch information
mihu authored and mkurek committed Feb 20, 2017
1 parent a3f1ce1 commit 1bb6eea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ralph/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def str_to_bool(s: str) -> bool:
'sql_mode': 'TRADITIONAL',
'charset': 'utf8',
'init_command': """
SET storage_engine=INNODB;
SET default_storage_engine=INNODB;
SET character_set_connection=utf8,collation_connection=utf8_unicode_ci;
SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED;
"""
Expand Down

0 comments on commit 1bb6eea

Please sign in to comment.