summaryrefslogtreecommitdiff
path: root/oslo/db/sqlalchemy/compat/__init__.py
diff options
context:
space:
mode:
authorAngus Lees <gus@inodes.org>2014-07-16 11:24:53 +1000
committerAngus Lees <gus@inodes.org>2014-07-22 14:22:00 +1000
commit3bf8941cca8e03e83a1f9810300f6c60f351e1ae (patch)
tree40a1c237e8d924633ee479e126fdbe3ba9fad78b /oslo/db/sqlalchemy/compat/__init__.py
parentbf4eff9ffd577c519846c98251942a3d998311e5 (diff)
downloadoslo-db-3bf8941cca8e03e83a1f9810300f6c60f351e1ae.tar.gz
Specify raise_on_warnings=False for mysqlconnector
mysqlconnector driver in sqlalchemy <1.0 uses the wrong default value for raise_on_warnings. With raise_on_warnings=True, many things we expect to be warnings become fatal (like DROP DATABASE IF EXISTS non_existent_db). See https://bitbucket.org/zzzeek/sqlalchemy/issue/2515 for upstream bug. Change-Id: Ic29c9bb6c692952640e3948f5ce31290e158068f
Diffstat (limited to 'oslo/db/sqlalchemy/compat/__init__.py')
0 files changed, 0 insertions, 0 deletions