summaryrefslogtreecommitdiffstats
path: root/openstack/common/db/sqlalchemy/utils.py
diff options
context:
space:
mode:
authorBoris Pavlovic <boris@pavlovic.me>2013-02-04 16:12:13 +0000
committerMark McLoughlin <markmc@redhat.com>2013-02-07 15:25:28 -0500
commit4ce828dbb170390f01f2d931ff7a165aefe87c32 (patch)
treef7f6e65388f2552469901ea9c448e6ec14d49ad5 /openstack/common/db/sqlalchemy/utils.py
parent195ab59a3a53f636a43b13dc933ca63f1a62cd1a (diff)
downloadoslo-4ce828dbb170390f01f2d931ff7a165aefe87c32.tar.gz
oslo-4ce828dbb170390f01f2d931ff7a165aefe87c32.tar.xz
oslo-4ce828dbb170390f01f2d931ff7a165aefe87c32.zip
Fix missing wrap_db_error for Session.execute() method
We should add wrap_db_error for Session.execute() method, because Query.update() method will call Session.execute() and it is not inside Session.flush(), so exceptions from Query.update() wouldn't be wrapped. Add test for Session.flush() wrapper Add test for Session.execute() wrapper Fixes bug 1107890 Change-Id: I96894e502f9f279999b61a1e66469e34a07a022d
Diffstat (limited to 'openstack/common/db/sqlalchemy/utils.py')
0 files changed, 0 insertions, 0 deletions