subunit2sql/subunit2sql/migrations
Trevor McCasland 37fc3f5f38 Fix mysql db api
By default the multiline option for the db api was included in
PyMySql<0.8 but now that it is removed[1] we need to pass in the
multi=True argument to the cursor to maintain the same execution
behavior. Unfortunately, I wasn't sure on how to do that
so I modified the op.execute method to run the sql commands one
line at a time instead. It seems to work for the test cases.

[1]c0aa317940

Change-Id: If139f0941562b7a792d813b5e23a47eb92487304
Story: 2001420
2017-12-21 15:10:30 -06:00
..
versions Fix mysql db api 2017-12-21 15:10:30 -06:00
README Initial commit 2014-06-12 23:59:00 -04:00
__init__.py Add subunit2sql-db-manage utility 2014-09-26 14:13:18 -04:00
alembic.ini Add migration to populate run_time where needed 2014-10-06 22:32:45 +00:00
cli.py Add stdout to indicate expiring runs operations 2016-01-27 11:40:15 -05:00
env.py Remove cap on oslo.db version 2016-05-18 15:22:49 -04:00
script.py.mako Initial commit 2014-06-12 23:59:00 -04:00

README

Generic single-database configuration.