]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Set InnoDB engine for all existing tables
authorAnn Kamyshnikova <akamyshnikova@mirantis.com>
Thu, 24 Jul 2014 10:33:02 +0000 (14:33 +0400)
committerAnn Kamyshnikova <akamyshnikova@mirantis.com>
Tue, 19 Aug 2014 07:44:54 +0000 (11:44 +0400)
commit808452913af090009ee1a32235bdd0b52b4e6e5c
tree7eb233fc5a67ae49d944093087eb6818fe189e31
parent06254d8fb2d151ca8d452378cdddfd59f4ebf5d0
Set InnoDB engine for all existing tables

Added the method in heal script that checks if mysql_engine
parameter is needed to be changed and if it is neseccary do this.
Also this change adds migation that set 'mysql_engine' to InnoDB
for all tables that were added into the database after healing.

Closes-bug: #1346966

Change-Id: Ia4d9038b99b2559d37272a17f5819a9dedd53f72
neutron/db/migration/alembic_migrations/heal_script.py
neutron/db/migration/alembic_migrations/versions/327ee5fde2c7_set_innodb_engine.py [new file with mode: 0644]
neutron/db/migration/alembic_migrations/versions/HEAD