summaryrefslogtreecommitdiff
path: root/oslo/db/sqlalchemy/migration.py
diff options
context:
space:
mode:
Diffstat (limited to 'oslo/db/sqlalchemy/migration.py')
-rw-r--r--oslo/db/sqlalchemy/migration.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/oslo/db/sqlalchemy/migration.py b/oslo/db/sqlalchemy/migration.py
index d7a17b3..f1cecdd 100644
--- a/oslo/db/sqlalchemy/migration.py
+++ b/oslo/db/sqlalchemy/migration.py
@@ -93,7 +93,7 @@ def _db_schema_sanity_check(engine):
onlyutf8_sql = ('SELECT TABLE_NAME,TABLE_COLLATION '
'from information_schema.TABLES '
'where TABLE_SCHEMA=%s and '
- 'TABLE_COLLATION NOT LIKE "%%utf8%%"')
+ 'TABLE_COLLATION NOT LIKE \'%%utf8%%\'')
# NOTE(morganfainberg): exclude the sqlalchemy-migrate and alembic
# versioning tables from the tables we need to verify utf8 status on.