diff options
| author | Victor Sergeyev <vsergeyev@mirantis.com> | 2013-06-07 17:38:05 +0300 |
|---|---|---|
| committer | Victor Sergeyev <vsergeyev@mirantis.com> | 2013-06-07 17:50:11 +0300 |
| commit | 30cb47ee205400787af8f7fb739e8b67edc16dd0 (patch) | |
| tree | 699e6eb27534cf7cca039c51d140be191694fe8f /openstack/common/plugin/pluginmanager.py | |
| parent | 5ce33b2adcf2477fe1192d7061cf49a8ab1a44a2 (diff) | |
| download | oslo-30cb47ee205400787af8f7fb739e8b67edc16dd0.tar.gz oslo-30cb47ee205400787af8f7fb739e8b67edc16dd0.tar.xz oslo-30cb47ee205400787af8f7fb739e8b67edc16dd0.zip | |
Changed processing unique constraint name.
Mr. Devananda found that dollar sign can be used as special symbol in
various programming langugages and proposed to use `0` instead of `$`.
So unique constraint name convention was changed from "uniq_t$c1$c2$c3"
to "uniq_t0c10c20c3" where `0` it is delimiter, `t` it is table name and
columns `c1`, `c2`, `c3` are in UniqueConstraint.
Function `_raise_if_duplicate_entry_error()` modified respectively to
new unique constraint name convention.
Change-Id: I88208dc03b55bbbc709b18580048c008004c9fda
Diffstat (limited to 'openstack/common/plugin/pluginmanager.py')
0 files changed, 0 insertions, 0 deletions
