Nova SQL scripts assume too much about the environment and the way in
which they are executed by sqlalchemy-migrate. Particularly, they manage
transactions on their own even though sqlalchemy-migrate do it itself,
plus it assumes that scripts are executed in one go (even though
standard Python DB-API 2.0 does not mention multi-statement SQL commands
to be executed on DB cursors.
Reviewed: https:/ /review. openstack. org/121028 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=1a488589089 ba5e5e44560badb ea8e9c8a9fc3fe
Committed: https:/
Submitter: Jenkins
Branch: master
commit 1a488589089ba5e 5e44560badbea8e 9c8a9fc3fe
Author: Ihar Hrachyshka <email address hidden>
Date: Fri Sep 12 10:40:09 2014 +0200
SQL scripts should not manage transactions
Nova SQL scripts assume too much about the environment and the way in
which they are executed by sqlalchemy-migrate. Particularly, they manage
transactions on their own even though sqlalchemy-migrate do it itself,
plus it assumes that scripts are executed in one go (even though
standard Python DB-API 2.0 does not mention multi-statement SQL commands
to be executed on DB cursors.
blueprint enable- mysql-connector
Change-Id: I10c58b3af75d3a b9153a8bbd2a539 bf1577de328
Closes-Bug: 1368391