diff options
author | Jenkins <jenkins@review.openstack.org> | 2014-09-11 05:26:22 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2014-09-11 05:26:22 +0000 |
commit | d71a6ccbb2f26d9f5c4d608c287f5ac8cd586c06 (patch) | |
tree | 8757c08571ae6e2fe778050bff9a6282fd63cdda | |
parent | 8f7681946a62b5f835f267b68d02bf4c8aa7a0e2 (diff) | |
parent | fb577ecd6ffcb91025cf6f2d748d3afdbe1c9657 (diff) | |
download | oslo-db-d71a6ccbb2f26d9f5c4d608c287f5ac8cd586c06.tar.gz |
Merge "Use single quotes for db schema sanity check"
-rw-r--r-- | oslo/db/sqlalchemy/migration.py | 2 |
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. |