diff options
| author | David Ripton <dripton@redhat.com> | 2012-10-09 16:51:24 -0400 |
|---|---|---|
| committer | David Ripton <dripton@redhat.com> | 2012-10-09 17:08:54 -0400 |
| commit | 5b4b7e4083b85bd9c10792cf0adb11dc07e92333 (patch) | |
| tree | ca528f33fe22319141e12aac348af2d0a5ae7cbd /nova/openstack | |
| parent | 7b618f2bf5e39c22dd60d3c3977f9b7137890493 (diff) | |
| download | nova-5b4b7e4083b85bd9c10792cf0adb11dc07e92333.tar.gz nova-5b4b7e4083b85bd9c10792cf0adb11dc07e92333.tar.xz nova-5b4b7e4083b85bd9c10792cf0adb11dc07e92333.zip | |
Tell SQLite to enforce foreign keys.
Fixes bug 1021023.
This requires SQLite version 3.6.19 or greater. Older versions of
SQLite have no support for enforcing foreign keys. However, SQLite
ignores unknown PRAGMA commands rather than treating them as errors,
so this change should be harmless with old versions of SQLite.
SQLAlchemy events require SQLAlchemy 0.7 or greater. But other code
in this module already uses events, so this change should impose no
new SQLAlchemy version requirements.
Change-Id: Ic3eeeddbe012af65fe18c884674699cf16725d8d
Diffstat (limited to 'nova/openstack')
0 files changed, 0 insertions, 0 deletions
